From dcd51038198a59b772da1a55218cd74b53fd1ab9 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 20 Nov 2023 17:20:49 -0500 Subject: [PATCH] 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 --- dashboard_nav.php | 2 ++ portal/inc_portal.php | 2 ++ portal/portal_header.php | 3 ++- reports_side_nav.php | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dashboard_nav.php b/dashboard_nav.php index 024d298c..0cf3b814 100644 --- a/dashboard_nav.php +++ b/dashboard_nav.php @@ -2,7 +2,9 @@
diff --git a/portal/inc_portal.php b/portal/inc_portal.php index d13169d1..acee6648 100644 --- a/portal/inc_portal.php +++ b/portal/inc_portal.php @@ -6,6 +6,8 @@ require_once '../config.php'; +require_once '../get_settings.php'; + require_once '../functions.php'; require_once 'check_login.php'; diff --git a/portal/portal_header.php b/portal/portal_header.php index 06a331bd..bbb7d87b 100644 --- a/portal/portal_header.php +++ b/portal/portal_header.php @@ -45,7 +45,8 @@ header("X-Frame-Options: DENY"); // Legacy - + + diff --git a/reports_side_nav.php b/reports_side_nav.php index 88d34c78..626dc3c6 100644 --- a/reports_side_nav.php +++ b/reports_side_nav.php @@ -13,7 +13,7 @@