change alerts

This commit is contained in:
Hafifie PKB
2025-07-06 12:01:48 +08:00
parent 00c4b9d55e
commit 11d4e975a1
4 changed files with 46 additions and 21 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ class CustomersController extends Controller
$customer_page = ($cawangan_info['version'] == 'v1') ? 'customers.v1.info' : 'customers.v2.info';
$getApprovalError = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/admin/ansuran/getApproval',[
$getApprovalError = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/getApproval',[
'kodcaw' => $auth_user['cawangan'],
'teller' => $auth_user['name'],
])->json();
@@ -74,7 +74,7 @@ class CustomersController extends Controller
$request->session()->flash('activate_tab', 'SAG_baru');
}
return view($customer_page,compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','min_komoditi','pekerjaan','ugama','getApprovalError'));
return view($customer_page,compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','min_komoditi','pekerjaan','getApprovalError'));
}
public function search(Request $request){