loading waiting for approval when refresh
This commit is contained in:
committed by
Hafifie PKB
parent
a641b38cc5
commit
8a3598fa24
@@ -65,12 +65,16 @@ 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',[
|
||||
'kodcaw' => $auth_user['cawangan'],
|
||||
'teller' => $auth_user['name'],
|
||||
])->json();
|
||||
|
||||
if($request->tebus_auto_tawarruq_berjaya === 'true'){
|
||||
$request->session()->flash('activate_tab', 'SAG_baru');
|
||||
}
|
||||
|
||||
return view($customer_page,compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','min_komoditi','pekerjaan'));
|
||||
return view($customer_page,compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','min_komoditi','pekerjaan','ugama','getApprovalError'));
|
||||
}
|
||||
|
||||
public function search(Request $request){
|
||||
|
||||
Reference in New Issue
Block a user