Merge branch 'new-super' of https://gitlab.com/online-sistem1/kaunter into fixkaunter

This commit is contained in:
hafifierahman
2022-04-03 10:41:14 +08:00
3 changed files with 198 additions and 15 deletions
+8 -1
View File
@@ -311,13 +311,20 @@ class GadaianController extends Controller
$marhun = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/marhun/'. $norujukan)->json();
$marhun_detail = $marhun[0];
$mutu = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url'). '/api/marhun/mutu/sag',[
'kodcaw' => $auth_user['cawangan'],
'norujukan' => $norujukan
])->json();
// dd($mutu);
$cawangan = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/cawangan/detail/'. $auth_user['cawangan'])->json();
$cawangan_detail = $cawangan[0];
$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'));
return view('print.sag',compact('gadai_detail','customer_detail','marhun_detail','cawangan_detail','api_url','pembayaran_segera','auth_username','mutu'));
}
public function resit($id)