Client Portal

- Allow primary + accounting/billing contacts to see quotes
- Allow primary + technical contacts to see docs
This commit is contained in:
Marcus Hill
2023-05-08 10:50:53 +01:00
parent 03e0dd8f5e
commit 0e062081cb
4 changed files with 283 additions and 0 deletions

View File

@@ -51,6 +51,14 @@ header("X-Frame-Options: DENY"); // Legacy
<li class="nav-item">
<a class="nav-link <?php if (basename($_SERVER['PHP_SELF']) == "invoices.php") {echo "active";} ?>" href="invoices.php">Invoices</a>
</li>
<li class="nav-item">
<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_id == $session_client_primary_contact_id || $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>
<?php } ?>
</ul>