Fix logic to always show tech dashboard if accountiong module is disabled

This commit is contained in:
johnnyq 2023-08-22 10:57:21 -04:00
parent 9a7bea6ef9
commit 6231d7b43c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
<ul class="nav nav-pills nav-sidebar flex-column mt-3" data-widget="treeview" data-accordion="false">
<!-- Dashboard item (tech/financial) -->
<?php if ($session_user_role == 2) { ?>
<?php if ($session_user_role == 2 || $config_module_enable_accounting == 0) { ?>
<li class="nav-item">
<a href="dashboard_technical.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "dashboard_technical.php") { echo "active"; } ?>">