find error 35
This commit is contained in:
@ -239,44 +239,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if (count($data['DataLimit']) > 0 )
|
||||
@php $i=1 @endphp
|
||||
@foreach ($data['DataLimit'] as $limit)
|
||||
@php
|
||||
$approvalDate = \Carbon\Carbon::parse($limit->APPROVAL_DATE);
|
||||
$expiryDate = \Carbon\Carbon::parse($limit->EXPIRY_DATE);
|
||||
$term = $expiryDate->diffInMonths($approvalDate);
|
||||
$limitPecent = intval($limit->LIMIT_PERCENTAGE) / 100 ;
|
||||
$noRek = explode(']', $limit->ACCOUNT);
|
||||
@endphp
|
||||
<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">{{ $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">{{ $expiryDate->format('d-m-Y')}}</td>
|
||||
<td class="text-center space1">
|
||||
@if(count($noRek) > 1)
|
||||
<ul class="no-bullets">
|
||||
@foreach ($noRek as $item)
|
||||
<li style=" font-family: Times New Roman,Times, sans-serif;font-size:12px">{{$item}}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@else
|
||||
{{ $limit->ACCOUNT}}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<tr class="space1">
|
||||
<td class="space1" colspan="9" style="text-align: center;">Tidak Ada Fasilitas </td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table><br>
|
||||
|
||||
|
Reference in New Issue
Block a user