Commit Graph

87 Commits

Author SHA1 Message Date
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
BTMS3 3a8e74c368 update wtd 2025-12-21 11:15:57 +08:00
Afiq Hamzah 6d80afed8f Continue dev on pampasan module 2025-10-05 16:16:22 +08:00
Ain Izazi 3b44cec5a2 add di function customer nota arcc 2025-09-23 11:23:53 +08:00
Afiq Hamzah f5874b956d Update pampasan module with enhanced agreement tracking and semporna processing
- Add agreement_printed_at timestamp to pampasan table for tracking printed agreements
- Update jenis handling for semporna v2 processing logic
- Refactor barangkes controller eager loading for improved performance
- Remove obsolete jenis migration files and consolidate schema changes
- Update related models and controllers for semporna v2 compatibility
2025-09-22 13:00:08 +08:00
Afiq Hamzah 59aeeb57f9 Continue dev on pampasan module 2025-09-17 12:39:10 +08:00
aiman 977fab853d Tukar step pampasan v3 ke v2: 2025-09-15 13:55:30 +08:00
Muhd hafifie 2bb5f46d5d Merged in feature/hapus-ansuran-v2 (pull request #340)
Feature/hapus ansuran v2
2025-08-17 13:40:58 +00:00
Muhd hafifie be4a96f9bc Merged in hotfix/PENY001-remove-bakilelong-hardcode (pull request #317)
added penyelarasan table to remove bakilelong hardcode and put in untungrugiterkumpul
2025-07-05 23:07:42 +00:00
hafifierahman 7ccca55b71 added penyelarasan table to remove bakilelong hardcode and put in untungrugiterkumpul 2025-07-05 02:28:55 +08:00
hafifierahman 45ffeb5a63 added migrations for palsu and inserting semporna data into table palsu by console commands 2025-07-05 00:21:46 +08:00
Hafifie PKB 448402061f added box komen on teller and added audit trail and added endpoints for laporan 2025-07-02 12:15:50 +08:00
Hafifie PKB c328a0492f fix database migrations to be added with delete and create 2025-04-07 15:05:43 +08:00
hafifierahman 07954b9b5e fix migrations and added function 2025-04-07 15:05:43 +08:00
Hafifie PKB acfbf11fe9 fix added migration 2025-04-07 15:05:43 +08:00
hafifierahman e966d21417 added timestmap for gldetail 2025-04-07 15:05:43 +08:00
hafifierahman 73c8220e1a added autoserahan endpoints 2025-04-07 15:05:43 +08:00
Ain Izazi Aziz 09af89a249 Merged in bugfix/fix-job (pull request #246)
fix kerja
2025-01-02 04:21:48 +00:00
hafifierahman 7bb68130ed Merge branch 'production' of bitbucket.org:arrahn-pkb/api_arrahn into hotfix/tunai-add-timestamp 2024-12-31 00:28:42 +08:00
Muhd hafifie 2ef3eeae6d Merged release/staging into hotfix/tunai-add-timestamp 2024-12-22 13:07:44 +00:00
Ain Izazi 36dad586c5 fix kerja 2024-12-01 15:30:48 +08:00
Hafifie PKB 3f4d0412df added failover failed 2024-11-18 20:20:36 +08:00
hafifierahman 5d18764a34 added failover transaction to seize the error from transactions. 2024-11-18 00:29:27 +08:00
hafifierahman 494408a5cc finished panjar and tunai, also added migration for recno in requestteller 2024-11-08 21:49:22 +08:00
Hafifie PKB e5b7244029 added timestamp and fixed block for duplicate nota and timestamp 2024-09-17 17:05:00 +08:00
Afiq Hamzah 23ebcdd98e Add online transaction log module 2024-08-01 13:58:50 +08:00
Afiq Hamzah 3b223bf4c4 Remove stray vscode setting config 2024-06-11 08:54:21 +08:00
Afiq Hamzah 119f6d6428 Codebase update
- Remove default pic assignments for unsold commodity notifications
- Check wabot credential complete first before notification blast, if incomplete no notification be sent
- Change migration column order for settings table, column group first
- Resolve error of not showing select after updating any PIC for selected day
2024-06-11 08:41:12 +08:00
Afiq Hamzah ab6ee95d64 Implement seeders instead of seeding using migrations, log whatasapp message 2024-06-11 08:41:12 +08:00
Afiq Hamzah cbf6bd5f1f Fix multiple notifications send to PIC at one time
- fix by removing previous scheduled notifications job before updating the notification configurations
2024-06-11 08:41:12 +08:00
Afiq Hamzah 052f65307d wip 2024-06-11 08:41:12 +08:00
Afiq Hamzah 931de4471c Add feat unsold commodity notifications 2024-06-11 08:41:12 +08:00
Muhd hafifie 9c40ff9b55 Merged in test-simulator-nisha (pull request #155)
Test simulator nisha
2024-05-21 02:24:32 +00:00
Afiq Hamzah 87515f010a Add module to enable or disable ujrah type payment
- Added migration to create table to store the parameter values
- Added ability to determine if branch is using calculation method v1 or v2
- Added API to enable client to get the payability of the ujrah payment and also change the parameter itself
2024-05-20 10:33:50 +08:00
Hafifie PKB 565136c744 added penyelarasan and fix onepercent formula for lejeram 2024-05-14 08:36:03 +08:00
Hafifie PKB 13890767dd fix imbang duga akru for keuntungan penggadai and added fix of previous imbang duga 2024-04-01 22:06:12 +08:00
arrahn pkb 5acae3b114 Merged in feature-batu-permata (pull request #148)
Feature batu permata
2024-03-24 21:54:16 +00:00
arrahn pkb 95ccd5d564 Merged in feature-batu-permata (pull request #140)
Feature batu permata
2024-03-14 04:35:35 +00:00
amirhassan fc4c5f4e84 Add column tag permata and feat to function 2024-03-14 08:53:48 +08:00
Hafifie PKB 4ebab2e2b7 Merge branch 'pipi/ujrah_staging' into ujrah_master_fix 2024-03-06 21:28:28 +08:00
Amirah dd3441743d add migration create imbang duga backup db 2024-02-25 15:33:08 +08:00
Hafifie PKB a0f3e298b3 add tag_tebus in gadai 2024-02-20 15:50:25 +08:00
Amirah 95bd37da82 add config tennant_master erahn 2024-02-20 09:43:02 +08:00
Amirah b2821f3c91 fix migration create wakil surat 2024-02-20 08:22:48 +08:00
Hafifie PKB 11b629ff4a Merge branch 'ujrah_staging' into pipi/ujrah_staging 2024-02-03 23:33:18 +08:00
amirhassan b239106ba8 Make migration and model for batu permata feature 2024-01-31 08:48:18 +08:00
Ainie Hayatie 51b1f32c07 function logsession 2024-01-30 12:32:43 +08:00
Afiq Hamzah d898248787 Add index key of id_search_norujukan for transaction table 2024-01-18 14:49:07 +08:00
Afiq Hamzah 688e5b6b5c Optimize transaction table with index 2024-01-15 12:24:24 +08:00
nishaMuhd c6e6575ac2 notis call function 2024-01-14 14:07:00 +08:00