Afiq Hamzah 8fe42c1d9f Refactor tenant database configuration to use dynamic config values
- Replace hardcoded database names (online_arrahn, master_krk, kaunterpkb)
  with configurable values across the codebase
- Rename tennant_master.php to tennant_database.php for clearer naming
- Update config keys: 'database' → 'master_db', add 'kaunter_db'
- Update env variables: TENNANT_MASTER_DB and TENNANT_KAUNTER_DB
- Modify Helper.php to use dynamic database references in
  getOnlineArrahnConnection(), getActiveCawanganDbConnection(),
  and getInactiveCawanganDbConnection() methods
- Update database JOIN queries in CustomerController and MarhunController
  to use config values instead of hardcoded database names
- Simplify migration logic by removing redundant hardcoded database checks
- Update debug messages in CawanganDebugConnections to show actual
  configured database name
- Update bootstrap/app.php to load tennant_database config

This change improves multi-environment flexibility and eliminates
environment-specific hardcoded values, making the application more
configurable for different deployment scenarios (KRK, KGMK, etc).
2026-01-20 11:36:41 +08:00
2020-10-19 10:28:31 +08:00
2020-10-19 10:28:31 +08:00
2026-01-15 13:07:11 +08:00
2021-07-15 18:03:43 +08:00
2022-05-30 00:57:12 +08:00
2020-10-19 10:28:31 +08:00
2021-10-05 01:07:35 +08:00
2023-11-28 09:51:32 +08:00
2020-10-19 10:28:31 +08:00
2020-10-19 10:28:31 +08:00
2023-11-23 16:29:43 +08:00
2023-11-23 16:29:43 +08:00
2026-01-19 16:41:10 +08:00
2026-01-19 16:41:10 +08:00
2023-12-17 11:40:57 +08:00
2020-10-19 10:28:31 +08:00
2021-02-27 03:23:00 +00:00

You know what is this when you in this project

S
Description
No description provided
Readme 3.2 MiB
Languages
PHP 99.9%