Merge branch 'master' of https://gitlab.com/online-sistem1/api_arrahn into apiaku
This commit is contained in:
+5
-4
@@ -23,16 +23,13 @@ $router->group(['prefix'=>'api'], function () use ($router){
|
||||
$router->get('customers',['uses'=>'CustomerController@showAllCustomers']);
|
||||
$router->get('customers/cawangan/{kodcaw}',['uses'=>'CustomerController@showAllCustomersByCawangan']);
|
||||
$router->get('customers/{ic}',['uses'=>'CustomerController@showOneCustomerByIC']);
|
||||
|
||||
$router->get('customers/{ic}/gadai/{status}',['uses'=>'CustomerController@showOneCustomerGadai']);
|
||||
$router->get('customers/{ic}/gadai/{status}/{kodcaw}',['uses'=>'CustomerController@showOneCustomerGadaiByCawangan']);
|
||||
|
||||
$router->post('customers/create/{kodcaw}',['uses'=>'CustomerController@createCustomer']);
|
||||
|
||||
$router->delete('customers/{kodcaw}/{nokp}', ['uses' => 'CustomerController@delete']);
|
||||
$router->put('customers/update/{nokp}', ['uses' => 'CustomerController@customerUpdate']);
|
||||
$router->put('customers/update/kaunter/{nokp}', ['uses' => 'CustomerController@customerUpdateKaunter']);
|
||||
$router->get('customers/laporan/{kodcaw}/{tarikh}',['uses'=>'CustomerController@getLaporanCustomers']);
|
||||
|
||||
$router->get('customers/latest/{kodcaw}',['uses'=>'CustomerController@getLatestCustomer']);
|
||||
|
||||
//Gadai API
|
||||
@@ -67,6 +64,10 @@ $router->group(['prefix'=>'api'], function () use ($router){
|
||||
$router->get('gadai/customers/{ic}/outstandingsemasa',['uses'=>'GadaiController@outstandingSemasaCustomer']);
|
||||
$router->put('gadai/updatehistory/{kodcaw}/{norujukan}',['uses'=>'GadaiController@updateHistoryGadai']);
|
||||
|
||||
$router->get('senarai/lelong/{kodcaw}',['uses'=>'GadaiController@senaraiLelong']);
|
||||
|
||||
$router->get('check/sag',['uses'=>'GadaiController@checkNorujukan']);
|
||||
|
||||
|
||||
//Tebus API
|
||||
$router->get('tebustawarruq/{kodcaw}/{norujukan}',['uses'=>'TebusController@tebusTawarruq']);
|
||||
|
||||
Reference in New Issue
Block a user