fix ayat
This commit is contained in:
@@ -80,7 +80,7 @@ class BayaranController extends Controller
|
||||
$sagonline = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/portal/searchsagonline/',['norujukan' => $sag])->json();
|
||||
|
||||
if($sagonline == true)
|
||||
return redirect()->route('home')->with('error','Salah Satu SAG Yang Dipilih Telah Pun Dibayar!');
|
||||
return redirect()->route('home')->with('errorsagonline','Sila Tunggu Sebentar!');
|
||||
//$array_lelong = Http::withOptions(['verify' => config('app.api_verify')])->get('https://niklah.arrahn.com.my/api/portalApi',['norujukan' => $sag])->json();
|
||||
//if($array_lelong['lelong'] !== null){
|
||||
// return redirect()->route('home')->with('error','Barangan Sedang Dilelong.');
|
||||
|
||||
@@ -205,6 +205,17 @@
|
||||
</script>
|
||||
@endif
|
||||
|
||||
@if (\Session::has('errorsagonline'))
|
||||
<script>
|
||||
Swal.fire(
|
||||
// "Melebihi tempoh 12 Bulan.",
|
||||
"Pembayaran Terdahulu Dalam Proses.",
|
||||
// "{{ \Session::get('errorsagonline') }}",
|
||||
'warning'
|
||||
)
|
||||
</script>
|
||||
@endif
|
||||
|
||||
<div class="table-responsive table-bordered table-hover">
|
||||
<table class="table align-items-center table-flush border" id="selepas_tawarruq" style="text-align: center; width: 100%">
|
||||
<thead class="thead-light bg-dark text-white text-center">
|
||||
|
||||
Reference in New Issue
Block a user