new format number
This commit is contained in:
@ -256,15 +256,15 @@
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $i++ }}</td>
|
||||
<td class="space1">{{ $limit->SHORT_NAME }}</td>
|
||||
<td class="text-center space1">{{ $approvalDate->format('d-m-Y') }}</td>
|
||||
<td class="text-center space1">{{ $approvalDate->format('Y-m-d') }}</td>
|
||||
{{-- <td class="space1">{{ $limit->COMPANY_NAME }}</td>
|
||||
<td class="space1">{{ $limit->ACCOUNT_TYPE }}</td> --}}
|
||||
<td class="text-center space1">{{ $limit->LIMIT_CURRENCY }}</td>
|
||||
<td class="space1">{{ ($limit->AVAIL_AMT != 0.00) ? number_format($limit->AVAIL_AMT,2,',','.') : 'NIHIL'}}</td>
|
||||
<td class="text-center space1">{{ $term }} </td>
|
||||
<td class="text-center space1">{{ $limitPecent }} %</td>
|
||||
{{-- <td class="text-center space1">{{ $approvalDate->format('d-m-Y') }}</td> --}}
|
||||
<td class="text-center space1">{{ $expiryDate->format('d-m-Y')}}</td>
|
||||
{{-- <td class="text-center space1">{{ $approvalDate->format(''Y-m-d') }}</td> --}}
|
||||
<td class="text-center space1">{{ $expiryDate->format('Y-m-d')}}</td>
|
||||
<td class="text-center space1" style="width:5%">
|
||||
@if(count($noRek) > 1)
|
||||
<ul class="no-bullets">
|
||||
@ -286,21 +286,23 @@
|
||||
|
||||
@if(count($data['DataFasilitas'])>0)
|
||||
@php
|
||||
$no = 1;
|
||||
$no = 0;
|
||||
if (count( $data['DataLimit']) > 0) {
|
||||
$no = count($data['DataLimit']);
|
||||
$no = count($data['DataLimit']) + 1 ;
|
||||
}else{
|
||||
$no = 1 ;
|
||||
}
|
||||
@endphp
|
||||
@foreach ($data['DataFasilitas'] as $fasilitas)
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no++ }}</td>
|
||||
<td class="space1">{{ $fasilitas->jenis_fasilitas }}</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('Y-m-d') }}</td>
|
||||
<td class="text-center space1">{{ $fasilitas->mata_uang }}</td>
|
||||
<td class="space1">{{ number_format( $fasilitas->saldo,2,',','.') }}</td>
|
||||
<td class="text-center space1 space1">{{ $fasilitas->jangka_waktu }}</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('Y-m-d') }}</td>
|
||||
<td class="text-center space1" style="width:5%">{{ $fasilitas->nomor_rekening }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
Reference in New Issue
Block a user