add show all customer by cawangan
This commit is contained in:
@@ -21,6 +21,7 @@ $router->get('/', function () use ($router) {
|
||||
$router->group(['prefix'=>'api'], function () use ($router){
|
||||
//Customer API
|
||||
$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']);
|
||||
|
||||
Reference in New Issue
Block a user