Portal - show client contacts

This commit is contained in:
wrongecho
2024-09-05 14:05:51 +01:00
parent 34b9e2978a
commit a23005babe
6 changed files with 80 additions and 1 deletions

View File

@@ -62,10 +62,13 @@ header("X-Frame-Options: DENY"); // Legacy
<a class="nav-link <?php if (basename($_SERVER['PHP_SELF']) == "quotes.php") {echo "active";} ?>" href="quotes.php">Quotes</a>
</li>
<?php } ?>
<?php if ($session_contact_primary == 1 || $session_contact_is_technical_contact) { ?>
<?php if ($config_module_enable_itdoc && ($session_contact_primary == 1 || $session_contact_is_technical_contact)) { ?>
<li class="nav-item">
<a class="nav-link <?php if (basename($_SERVER['PHP_SELF']) == "documents.php") {echo "active";} ?>" href="documents.php">Documents</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if (basename($_SERVER['PHP_SELF']) == "contacts.php") {echo "active";} ?>" href="contacts.php">Contacts</a>
</li>
<?php } ?>
</ul>