tambah carian by nama

This commit is contained in:
Nur Izzati
2025-08-03 12:33:43 +08:00
parent 63a3f4870a
commit a3234a925c
2 changed files with 43 additions and 2 deletions
+4
View File
@@ -60,6 +60,10 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('admin/customers/nokp/search',['uses'=>'CustomerController@showOneCustomerByICAdmin']);
$router->get('customer/blacklist',['uses'=>'CustomerController@blacklistCustomer']);
$router->get('customer/eachcawangan/{ic}',['uses'=>'CustomerController@showCustomerByEachCawangan']);
//arcc
$router->get('customer/searchbyname',['uses'=>'CustomerController@searchByName']);
// Route::get('/api/customers/searchbyname', [CustomerController::class, 'searchByName']);
//Change Password
$router->post('changepassword/{kodcaw}/{id}',['uses'=>'CustomerController@changepassword']);