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

@@ -13,7 +13,7 @@
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" data-accordion="false">
<?php if ($session_user_role == 1 || $session_user_role == 3) { ?>
<?php if ($session_user_role == 1 || $session_user_role == 3 && $config_module_enable_accounting == 1) { ?>
<li class="nav-header">FINANCIAL</li>
<li class="nav-item">