Merged in afiqhamzah/feat/overall-report (pull request #23)

Afiqhamzah/feat/overall report
This commit is contained in:
Afiq Hamzah
2023-12-03 02:41:36 +00:00
12 changed files with 1274 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']);
});
});