outstanding

This commit is contained in:
Afiq
2021-01-05 14:25:59 +08:00
parent 2c7b2cfb9a
commit a071836fb9
3 changed files with 21 additions and 5 deletions
+3 -1
View File
@@ -27,7 +27,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('customers/{ic}/gadai/{status}',['uses'=>'CustomerController@showOneCustomerGadai']);
$router->get('customers/{ic}/gadai/{status}/{kodcaw}',['uses'=>'CustomerController@showOneCustomerGadaiByCawangan']);
$router->post('customers/{kodcaw}',['uses'=>'CustomerController@create']);
$router->post('customers/create/{kodcaw}',['uses'=>'CustomerController@createCustomer']);
$router->delete('customers/{kodcaw}/{nokp}', ['uses' => 'CustomerController@delete']);
$router->put('customers/update/{nokp}', ['uses' => 'CustomerController@customerUpdate']);
@@ -64,6 +64,8 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('gadaiansemasa/belum_serah/{kodcaw}',['uses'=>'GadaiController@getGadaianBelumSerah']);
$router->get('gadai/laporan/{kodcaw}/{tarikh}',['uses'=>'GadaiController@getLaporanGadai']);
$router->get('gadai/customers/{ic}/outstandingsemasa',['uses'=>'GadaiController@outstandingSemasa']);
//Tebus API
$router->get('tebustawarruq/{kodcaw}/{norujukan}',['uses'=>'TebusController@tebusTawarruq']);