fix error

This commit is contained in:
KhatamNugraha
2024-03-08 10:27:32 +07:00
parent c1d6fcbcee
commit 6fbf141912
2 changed files with 3 additions and 2 deletions

View File

@ -430,6 +430,7 @@
$ListLimits = $Account->getLimit($request['cusNo'],$request['startDate2'])->get(); $ListLimits = $Account->getLimit($request['cusNo'],$request['startDate2'])->get();
$fasilitas = Fasilitas::where('nomor_cif',$request['cusNo'] )->where('status',1)->get(); $fasilitas = Fasilitas::where('nomor_cif',$request['cusNo'] )->where('status',1)->get();
// dd($fasilitas);
$signer = Signer::where('id', $request['signerId'])->where('status',1)->get(); $signer = Signer::where('id', $request['signerId'])->where('status',1)->get();
$currentDate = Carbon::now(); $currentDate = Carbon::now();
$tanggalIndonesia = $currentDate->locale('id')->isoFormat('D MMMM YYYY'); $tanggalIndonesia = $currentDate->locale('id')->isoFormat('D MMMM YYYY');

View File

@ -276,7 +276,7 @@
<td class="text-center space1"></td> <td class="text-center space1"></td>
{{-- <td class="text-center space1">{{ \Carbon\Carbon::parse($fasilitas->start_date)->format('d-m-Y') }}</td> --}} {{-- <td class="text-center space1">{{ \Carbon\Carbon::parse($fasilitas->start_date)->format('d-m-Y') }}</td> --}}
<td class="text-center space1">{{ $fasilitas->mata_uang }}</td> <td class="text-center space1">{{ $fasilitas->mata_uang }}</td>
<td class="space1 text-right"> {{ ($fasilitas->saldo) ? number_format($fasilitas->saldo,2,',','.') : 'NIHIL'}}</td></td> <td class="space1 text-right"> {{number_format($fasilitas->saldo, 2, ',', '.')}}</td></td>
<td class="text-center space1 ">{{ $fasilitas->jangka_waktu }} D</td> <td class="text-center space1 ">{{ $fasilitas->jangka_waktu }} D</td>
<td class="text-center space1">{{ $fasilitas->fixed_rate }} %</td> <td class="text-center space1">{{ $fasilitas->fixed_rate }} %</td>
<td class="text-center space1">{{ \Carbon\Carbon::parse($fasilitas->due_date)->format('d-m-Y') }}</td> <td class="text-center space1">{{ \Carbon\Carbon::parse($fasilitas->due_date)->format('d-m-Y') }}</td>