Add Asset Management app
Assets from purchase invoice lines, straight-line depreciation/amortization with salvage value, disposals, and [Asset Mgmt] sources in Batch GL Entries. Green third workspace with an app access guard.
This commit is contained in:
@@ -9,12 +9,10 @@
|
||||
$master_can_admin = in_array($master_role, ['owner', 'admin'], true);
|
||||
$master_app_access = $_SESSION['login_app_access'] ?? 'wms';
|
||||
$master_show_accounting = in_array($master_app_access, ['all', 'accounting']);
|
||||
$master_back_url = ($_SESSION['login_current_app'] ?? 'wms') === 'accounting'
|
||||
? $server_url . 'ac_dashboard/index.php'
|
||||
: $server_url . 'dashboard/index.php';
|
||||
$master_back_label = ($_SESSION['login_current_app'] ?? 'wms') === 'accounting'
|
||||
? 'Back to Accounting'
|
||||
: 'Back to WMS';
|
||||
require_once __DIR__ . '/assets/utils/app_registry.php';
|
||||
$master_current_app = $_SESSION['login_current_app'] ?? 'wms';
|
||||
$master_back_url = $server_url . app_home_path($app_registry, $master_current_app);
|
||||
$master_back_label = 'Back to ' . ($app_registry[$master_current_app]['label'] ?? 'WMS');
|
||||
?>
|
||||
|
||||
<!-- SIDEBAR -->
|
||||
|
||||
Reference in New Issue
Block a user