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:
Thanakorn
2026-09-15 09:50:55 +07:00
parent 9512d440dd
commit c957280aa5
46 changed files with 4316 additions and 131 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
require '../config.php';
if (!empty($_SESSION['login_status'])) {
header('Location: ' . $server_url . 'dashboard/index.php');
require_once '../assets/utils/app_registry.php';
$login_app = app_default_for_access($app_registry, $_SESSION['login_app_access'] ?? 'wms');
header('Location: ' . $server_url . app_home_path($app_registry, $login_app));
exit;
}