Merge branch 'ujrah_master' of https://bitbucket.org/arrahn-pkb/kaunter into finadev
This commit is contained in:
@@ -58,6 +58,11 @@ class CustomersController extends Controller
|
||||
|
||||
$request->session()->forget('page_reload');
|
||||
$request->session()->forget('norujukan');
|
||||
|
||||
if($request->tebus_auto_tawarruq_berjaya === 'true'){
|
||||
$request->session()->flash('activate_tab', 'SAG_baru');
|
||||
}
|
||||
|
||||
return view('customers.info',compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','min_komoditi'));
|
||||
}
|
||||
|
||||
|
||||
@@ -2603,7 +2603,8 @@
|
||||
'success'
|
||||
) .then(function() {
|
||||
window.open(urlroute, '_blank');
|
||||
window.location.replace("{{ route('customer_info') }}");
|
||||
//add query params to signal tebus auto tawarruq berjaya to controller
|
||||
window.location.replace("{{ route('customer_info') . '?tebus_auto_tawarruq_berjaya=true' }}");
|
||||
})
|
||||
},error: function (request, status, error) {
|
||||
console.log(request.responseText);
|
||||
|
||||
Reference in New Issue
Block a user