fix laporan
This commit is contained in:
@@ -1437,11 +1437,12 @@ class KhazanahController extends Controller
|
||||
$tebus = Http::get(config('api.url'). '/api/tebus/laporan/'. $auth_user['cawangan'] .'/'. $tebus_date)->json();
|
||||
$tebuspengasingan = Http::get(config('api.url'). '/api/tebus/laporanjenistawarruq/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json();
|
||||
$upahlama = Http::get(config('api.url'). '/api/advansurdetails/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json();
|
||||
$ansuran = Http::get(config('api.url'). '/api/ansuransummary/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json();
|
||||
|
||||
$cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
// dd($gadai);
|
||||
return view('print.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','tebuspengasingan','api_url','upahlama'));
|
||||
return view('print.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','tebuspengasingan','ansuran','api_url','upahlama'));
|
||||
}
|
||||
|
||||
public function laporanLelongan(){
|
||||
|
||||
@@ -325,6 +325,13 @@
|
||||
<td>{{ number_format($upahlama['total'],2) }}</td>
|
||||
<td> Not Applicable </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ $upahlama['bil'] }}</td>
|
||||
<td>Ansuran</td>
|
||||
<td>{{ number_format($ansuran['totalpendahuluan'],2) }}</td>
|
||||
<td>{{ number_format($ansuran['totalkeuntungan'],2) }}</td>
|
||||
<td> Not Applicable </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{{-- <h5 style="float:right;">JUMLAH KESELURUHAN BAYARAN : RM {{ number_format($totalbayaran,2) }}</h5> --}}
|
||||
|
||||
Reference in New Issue
Block a user