fix excel lelongan

This commit is contained in:
fifi97
2022-02-22 18:15:08 +08:00
parent a53d04f701
commit d331b31db3
2 changed files with 3 additions and 3 deletions
@@ -26,7 +26,7 @@
<div class="row">
<a href="{{ route('laporan.pelangganbaru') }}" class="btn btn-dark btn-lg btn-block mb-3">Pelanggan Baru</a>
</div>
<div class="row d-none">
<div class="row">
<a href="{{ route('laporan.ringkasanterkumpul') }}" class="btn btn-dark btn-lg btn-block mb-3">Ringkasan Terkumpul</a>
</div>
<div class="row">
@@ -218,8 +218,8 @@
<td>{{ $loop->iteration }}</td>
<td>{{ $item['nama'] }}</td>
<td>{{ $item['norujukan'] }}</td>
<td>@php $telefon = str_replace("-","",$item['telefon1']); echo substr($telefon,0,3) . '-' . substr($telefon,3); @endphp</td>
<td>@php $telefon = str_replace("-","",$item['telefon2']); echo substr($telefon,0,3) . '-' . substr($telefon,3); @endphp</td>
<td>@php $telefon = str_replace("-","",$item['telefon1']); echo ($telefon == null || $telefon == '') ? '' : '6' . substr($telefon,0,3) . substr($telefon,3); @endphp</td>
<td>@php $telefon = str_replace("-","",$item['telefon2']); echo ($telefon == null || $telefon == '') ? '' : '6' . substr($telefon,0,3) . substr($telefon,3); @endphp</td>
<td>{{ $item['JBG'] }}</td>
<td>{{ substr($item['IC'],0,6) . '-' .substr($item['IC'],6,2) . '-' . substr($item['IC'],8) }}</td>
<td>{{ $item['Pembiayaan'] }}</td>