latest server
This commit is contained in:
@@ -399,7 +399,7 @@ class AliranTunaiController extends Controller
|
||||
if($teb['tagterima'] === 1){
|
||||
if($teb['jenistebus'] === 'S')
|
||||
{
|
||||
$totaltebusbarcodescanned += $teb['pinjaman'] + $teb['bakiupah'];
|
||||
$totaltebusbarcodescanned += $teb['gadaibakipjm'] + $teb['bakiupah'];
|
||||
}else{
|
||||
$totaltebusbarcodescanned += $teb['bakipjm'];
|
||||
}
|
||||
@@ -407,7 +407,7 @@ class AliranTunaiController extends Controller
|
||||
|
||||
if($teb['jenistebus'] === 'S')
|
||||
{
|
||||
$totaltebus += $teb['pinjaman'] + $teb['bakiupah'];
|
||||
$totaltebus += $teb['gadaibakipjm'] + $teb['bakiupah'];
|
||||
}else{
|
||||
$totaltebus += $teb['bakipjm'];
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ class GadaianController extends Controller
|
||||
|
||||
$cawangan_detail = $cawangan[0];
|
||||
|
||||
$pembayaran_segera = "https://e-arrahn.com.my/pembayaransegeraqrreader?norujukan=".$norujukan;
|
||||
$pembayaran_segera = "https://spare.arrahn.com.my/pembayaransegera";
|
||||
|
||||
return view('print.sag',compact('gadai_detail','customer_detail','marhun_detail','cawangan_detail','api_url','pembayaran_segera','auth_username'));
|
||||
}
|
||||
@@ -349,14 +349,7 @@ class GadaianController extends Controller
|
||||
// if(sizeof($customers_info) != 0)
|
||||
// $customers_info = $customers_info[0];
|
||||
|
||||
if($penebusan['nowakil'])
|
||||
{
|
||||
$wakil = Http::get(config('api.url') . '/api/getwakil/' . $auth_user['cawangan'] . '/code/' . $penebusan['nowakil'])->json();
|
||||
if(sizeof($wakil) != 0)
|
||||
$wakil = $wakil[0];
|
||||
}
|
||||
|
||||
return view('print.resitansuran',compact('transaction','gadai','customers_info','wakil'));
|
||||
return view('print.resitansuran',compact('transaction','gadai','customers_info'));
|
||||
}
|
||||
|
||||
public function resitbelumansurans($id)
|
||||
|
||||
@@ -2739,7 +2739,7 @@ class KhazanahController extends Controller
|
||||
$gadai_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0];
|
||||
}
|
||||
|
||||
$tuntutbaki = Http::get(config('api.url'). '/api/TuntutBaki/'. $auth_user['cawangan'] ,['tarikh' => $gadai_date])->json();
|
||||
$tuntutbaki = Http::get(config('api.url'). '/api/TuntutBakiTarikh/'. $auth_user['cawangan'] ,['tarikh' => $gadai_date])->json();
|
||||
|
||||
$cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
Reference in New Issue
Block a user