DONE: auto add ic photo for existing customer

This commit is contained in:
ISMAIL MASSERAN
2026-09-09 10:27:59 +08:00
parent 22279af86c
commit 03228cae2f
2 changed files with 34 additions and 0 deletions
+1
View File
@@ -54,6 +54,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/create/{kodcaw}',['uses'=>'CustomerController@createCustomer']);
$router->post('customers/{ic}/mykad-photo', ['uses' => 'CustomerController@storeMykadPhotoIfMissing']);
$router->delete('customers/{kodcaw}/{nokp}', ['uses' => 'CustomerController@delete']);
$router->put('customers/update/{nokp}', ['uses' => 'CustomerController@customerUpdate']);
$router->put('customers/update/kaunter/{nokp}/{kodcaw}', ['uses' => 'CustomerController@customerUpdateKaunter']);