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:
johnnyq
2023-11-20 17:20:49 -05:00
parent ed625b2d98
commit dcd5103819
4 changed files with 7 additions and 2 deletions

View File

@@ -2,7 +2,9 @@
<div class="col-md-12">
<div class="btn-group btn-group-lg btn-block">
<a href="dashboard.php" class="btn btn-<?php if (basename($_SERVER["PHP_SELF"]) == "dashboard.php") { echo "dark"; } else { echo "secondary"; } ?>">Personal <small>(WIP)</small></a>
<?php if($config_module_enable_accounting == 1) { ?>
<a href="dashboard_financial.php" class="btn btn-<?php if (basename($_SERVER["PHP_SELF"]) == "dashboard_financial.php") { echo "dark"; } else { echo "secondary"; } ?>">Administrative</a>
<?php } ?>
<a href="dashboard_technical.php" class="btn btn-<?php if (basename($_SERVER["PHP_SELF"]) == "dashboard_technical.php") { echo "dark"; } else { echo "secondary"; } ?>">Technical</a>
</div>
</div>