remove totalrebate

This commit is contained in:
Cyclone
2025-12-02 20:09:29 +08:00
parent 94abeef80b
commit 0156712742
+1 -2
View File
@@ -603,7 +603,6 @@ class GadaianController extends Controller
// $totalrebate = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/reports/totalrebate',['norujukan'=>$id])->json();
// dd($wakil);
$surat_wakil = [];
if(sizeof($wakil) != 0) {
$wakil = $wakil[0];
@@ -617,7 +616,7 @@ class GadaianController extends Controller
if($gadai['tagbaru'] == 1) {
return view('print.resittebus_ujrah',compact('ujrah_rebate','keuntungan_rebate','surat_wakil','totalrebate','transaction_tebus', 'transaction','gadai','cawangan_info','customers_info','penebusan','wakil','totaltransaction','totalBayaranAnsuran', 'khazanah_user'));
return view('print.resittebus_ujrah',compact('ujrah_rebate','keuntungan_rebate','surat_wakil','transaction_tebus', 'transaction','gadai','cawangan_info','customers_info','penebusan','wakil','totaltransaction','totalBayaranAnsuran', 'khazanah_user'));
} else {
return view('print.resittebus',compact('surat_wakil', 'transaction_tebus', 'transaction','gadai','cawangan_info','customers_info','penebusan','wakil','totaltransaction','totalBayaranAnsuran', 'khazanah_user'));
}