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
This commit is contained in:
Afiq Hamzah
2025-09-22 13:00:08 +08:00
parent 38dd97c4f2
commit f5874b956d
10 changed files with 174 additions and 279 deletions
+1
View File
@@ -380,6 +380,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->post('DeletePanjar/{kodcaw}',['uses'=>'PanjarController@delete']);
//API PAMPASAN GUNA PANJAR
$router->post('pampasan/initiatePampasan',['uses'=>'PampasanController@initiatePampasan']);
$router->post('pampasan/terimaPampasan',['uses'=>'PampasanController@terimaPampasan']);
$router->put('pampasan/updateStatusPampasan', ['uses' => 'PampasanController@updateStatusPampasan']);
$router->get('pampasan', ['uses' => 'PampasanController@getPampasan']);