Perbaikan data anjak

This commit is contained in:
KhatamNugraha
2024-05-08 16:03:52 +07:00
parent 86dc2d4199
commit a8a0ed1bd9
3 changed files with 802 additions and 846 deletions

View File

@ -50,6 +50,7 @@
border: 1px solid black;
border-collapse: collapse;
font-size: 12px;
padding: 1px;
}
@ -60,10 +61,16 @@
bottom: 0;
text-align: center;
}
#footer .page:after {
content: counter(page);
}
/* .header {
position: fixed;
@ -119,7 +126,7 @@
<li>POSISI : {{ $data['localDate'] }} </li>
</ul>
<table style="width:100%;" class="space1" >
<table style="width:100%;" class="space1 " >
<thead style="background-color: dimgrey" >
<tr>
<th class="text-center space1" style="width:5%">No</th>
@ -178,12 +185,11 @@
<!-- Add more rows here if needed -->
</tbody>
</table><br>
<ul class="no-bullets">
<li>PINJAMAN YANG DIBERIKAN OLEH BANK KEPADA NASABAH</li>
<li>POSISI : {{ $data['localDate'] }} </li>
</ul>
<table class="space1" style="width:100%;page-break-inside: avoid;">
<table class="space1" style="width:100%; page-break-inside: avoid;">
<thead style="background-color: dimgrey">
<tr class="space1">
<th class="text-center space1" style="width:5%">No</th>
@ -191,14 +197,14 @@
<th class="text-center space1" style="width:12%">Tgl Realisasi</th>
<th class="text-center space1" style="width:7%">Mata Uang</th>
<th class="text-center space1" style="width:16%">Saldo</th>
<th class="text-center" style="width:10%">Tenor</th>
<th class="text-center space1" style="width:10%">Tenor</th>
<th class="text-center space1" style="width:8%">Suku Bunga</th>
<th class="text-center space1" style="width:11%">Tgl Jatuh Tempo</th>
<th class="text-center space1" style="width:10%">Keterangan</th>
</tr>
</thead>
<tbody>
@if (count($data['DataPinjaman'])>0 OR count($data['DataRK'])>0 OR count($data['DataAnjak']) > 0 )
<tbody style="page-break-inside: avoid;">
@if (count($data['DataPinjaman'])>0 OR count($data['DataRK'])>0 OR $data['totalOutstanding'] != '' )
@if (count($data['DataPinjaman'])>0)
@php $i=1;
$saldo = '';
@ -243,7 +249,7 @@
@endforeach
@endif
@if (count($data['DataAnjak']) > 0)
@if ($data['totalOutstanding'] != '')
@php
$no = 0;
if (count( $data['DataPinjaman']) > 0) {
@ -254,20 +260,17 @@
$no = 1;
}
@endphp
@foreach ($data['DataAnjak'] as $ajk => $anjak)
<tr class="space1">
<tr class="space1">
<td class="text-center space1">{{ $no++ }}</td>
<td class="space1">{{ $anjak['PRODUCT_LOAN'] }}</td>
<td class="space1">ANJAK PIUTANG</td>
<td class="text-center space1 "></td>
<td class="text-center space1">{{ $anjak['LOAN_CCY'] }}</td>
<td class="text-right space1">{{$anjak['OUTSTANDING']}}</td>
<td class="text-center space1">{{$anjak['TENOR']}} BLN</td>
<td class="text-center space1">{{$anjak['CURRENT_INTEREST_RATE']}} %</td>
<td class="text-center space1">{{$anjak['MATURITY_DATE']}}</td>
<td class="text-center space1">{{ $anjak['ACCOUNT_NUMBER'] }}</td>
<td class="text-center space1"></td>
<td class="text-right space1">{{$data['totalOutstanding']}}</td>
<td class="text-center space1"></td>
<td class="text-center space1"></td>
<td class="text-center space1"></td>
<td class="text-center space1"></td>
</tr>
@endforeach
@endif
@else
@ -281,7 +284,7 @@
<li>FASILITAS LAIN YANG DITERIMA OLEH NASABAH</li>
<li>POSISI : {{ $data['localDate'] }} </li>
</ul>
<table class="space1" style="width:100%;">
<table class="space1"style="width:100%; page-break-inside: avoid;">
<thead style="background-color: dimgrey">
<tr class="space1">
<th class="text-center space1" style="width:5%">No</th>
@ -295,7 +298,7 @@
<th class="text-center space1" style="width:10%">Keterangan</th>
</tr>
</thead>
<tbody>
<tbody style="page-break-inside: avoid;">
@if (count($data['DataFasilitas']) > 0 )
@php
$no = 0;