debug serentak

This commit is contained in:
Afiq
2021-01-12 09:11:00 +08:00
parent f024885513
commit 578906a053
2 changed files with 1 additions and 1 deletions
@@ -49,7 +49,6 @@ class GadaianController extends Controller
]);
}else{
$norujukan = $request->session()->get('norujukan');
dd($norujukan);
}
+1
View File
@@ -243,6 +243,7 @@
$new_transaction = sprintf("%04d",$new_sirig);
$norujukan_baru = strtoupper($cawangan_info['kodcaw']) . $curent_year . $curent_month . $current_day . '-' .$new_transaction;
$_SESSION["norujukan"] = $norujukan_baru;
dd($_SESSION["norujukan"]);
$gadai_baru = Http::post($api_url .'/api/gadai/'.$cawangan_info['kodcaw'],[
'norujukan' => $norujukan_baru,
'nopelanggan' => $customer_info['nopelanggan'],