add record password di web n customer contr

This commit is contained in:
Ain Izazi
2024-12-26 08:52:17 +08:00
parent 44f632638b
commit 630b606520
2 changed files with 67 additions and 49 deletions
+4 -1
View File
@@ -41,7 +41,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('/', 'PayableUjrahBranchController@index');
$router->post('/', 'PayableUjrahBranchController@create');
$router->post('/sync-status', 'PayableUjrahBranchController@syncStatus');
});
});
//Customer API
$router->get('customers',['uses'=>'CustomerController@showAllCustomers']);
@@ -61,6 +61,9 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('customer/blacklist',['uses'=>'CustomerController@blacklistCustomer']);
$router->get('customer/eachcawangan/{ic}',['uses'=>'CustomerController@showCustomerByEachCawangan']);
//Change Password
$router->post('changepassword/{kodcaw}/{id}',['uses'=>'CustomerController@changepassword']);
//Gadai API
$router->get('gadai',['uses'=>'GadaiController@showAllGadais']);
$router->get('gadai/{noic}',['uses'=>'GadaiController@showOneGadai']);