mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 00:04:50 +00:00
Hide Financial Reports, Financial Dashboard, Client Portal Invoices/Quotes of Accounting module is disabled, also included the settings into the client portal, so all settings vars are easily accessable within the portal
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
require_once '../config.php';
|
||||
|
||||
require_once '../get_settings.php';
|
||||
|
||||
require_once '../functions.php';
|
||||
|
||||
require_once 'check_login.php';
|
||||
|
||||
@@ -45,7 +45,8 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER['PHP_SELF']) == "tickets.php" || basename($_SERVER['PHP_SELF']) == "ticket_add.php" || basename($_SERVER['PHP_SELF']) == "ticket.php") {echo "active";} ?>" href="tickets.php">Tickets</a>
|
||||
</li>
|
||||
<?php if ($session_contact_primary == 1 || $session_contact_is_billing_contact) { ?>
|
||||
|
||||
<?php if (($session_contact_primary == 1 || $session_contact_is_billing_contact) && $config_module_enable_accounting == 1) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER['PHP_SELF']) == "invoices.php") {echo "active";} ?>" href="invoices.php">Invoices</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user