Done overall reports for gadaian, penebusan, ansuran

This commit is contained in:
Afiq Hamzah
2023-11-28 14:52:28 +08:00
committed by Hafifie PKB
parent 54f8b2cd71
commit ad8dda2b92
11 changed files with 1270 additions and 14 deletions
+9 -3
View File
@@ -1,6 +1,12 @@
<?php
$router->group(['prefix'=>'api'], function () use ($router){
$router->get('gadailaporanOverallSummary', ['uses' => 'ReportGadaiController@getSummaryLaporanGadai']);
$router->get('gadailaporan/{kod_cawangan}', ['uses' => 'ReportGadaiController@getLaporanCawangan']);
$router->group(['prefix'=>'api/reports'], function () use ($router){
$router->group(['namespace' => 'Reports'], function() use($router){
$router->get('gadaian', ['uses' => 'GadaianController@getSummaryLaporanGadai']);
$router->get('gadaian/{kod_cawangan}', ['uses' => 'GadaianController@getLaporanCawangan']);
$router->get('penebusan', ['uses' => 'PenebusanController@getSummaryLaporanTebus']);
$router->get('penebusan/{kod_cawangan}', ['uses' => 'PenebusanController@getLaporanCawangan']);
$router->get('ansuran', ['uses' => 'AnsuranController@getSummaryLaporanAnsuran']);
$router->get('ansuran/{kod_cawangan}', ['uses' => 'AnsuranController@getLaporanCawangan']);
});
});