update controler kobank
This commit is contained in:
@ -130,8 +130,8 @@
|
||||
</ul><br>
|
||||
<ul class="no-bullets">
|
||||
<li> Sesuai dengan surat saudara Nomor {{$data['infoSuratNew']['no_req_surat']}} tanggal {{ Carbon\Carbon::parse($data['infoSuratNew']['tgl_req_surat'])->locale('id')->isoFormat('DD MMMM YYYY') }} dengan ini kami sampaikan data – data nasabah sesuai permintaan saudara sebagai berikut : </li><br>
|
||||
<li>Nama Nasabah : {{$data['DataCustomer']->SHORT_NAME}}</li>
|
||||
<li>Nomor CIF : {{$data['DataCustomer']->CUSTOMER_NO}}</li>
|
||||
<li>Nama Nasabah : {{$data['DataCustomer']->nama_nasabah}}</li>
|
||||
<li>Nomor CIF : {{$data['DataCustomer']->cif}}</li>
|
||||
</ul><br>
|
||||
<ul class="no-bullets">
|
||||
<li>SIMPANAN NASABAH YANG BERSANGKUTAN PADA BANK</li>
|
||||
@ -159,7 +159,7 @@
|
||||
|
||||
@endphp
|
||||
@foreach ($data['DataAccounts'] as $val)
|
||||
<tr class="space1">
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $i++ }}</td>
|
||||
<td class="text-left space1">{{ $val['SHORT_NAME'] }}</td>
|
||||
<td class=" text-center space1"></td>
|
||||
@ -168,39 +168,31 @@
|
||||
<td class="text-center space1 ">{{ $val['TERM'] }}</td>
|
||||
<td class="text-center space1 ">{{ $val['FIXED_RATE'] }}</td>
|
||||
<td class="text-center space1 ">{{ $val['MATURITY_DATE'] }}</td>
|
||||
<td class="text-center space1">{{ $val['ACCOUNT_NUMBER'] }}</td>
|
||||
<td class="text-center space1">{{ $val['ACCOUNT_NUMBER'] }} </td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
@if (count( $data['DataDepo']) > 0)
|
||||
|
||||
@php
|
||||
$noDepo = 0;
|
||||
if (count( $data['DataAccounts']) > 0) {
|
||||
$noDepo = count($data['DataAccounts']) + 1 ;
|
||||
}else{
|
||||
$noDepo = 1 ;
|
||||
}
|
||||
@endphp
|
||||
@foreach ($data['DataDepo'] as $keyDep => $depo)
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $noDepo++ }}</td>
|
||||
<td class="space1">DEPOSITO</td>
|
||||
<td class="text-center space1 "></td>
|
||||
<td class="text-center space1">{{ $depo['CURRENCY'] }}</td>
|
||||
<td class="text-right space1">{{$depo['WORKING_BALANCE']}}</td>
|
||||
<td class="text-center space1">{{ $depo['TERM'] }}</td>
|
||||
<td class="text-center space1">{{ $depo['FIXED_RATE'] }} %</td>
|
||||
<td class="text-center space1">{{ $depo['MATURITY_DATE'] }}</td>
|
||||
<td class="text-center space1">{{ $depo['ACCOUNT_NUMBER'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@else
|
||||
@php
|
||||
@if (!$data['DataDepo'])
|
||||
@php
|
||||
$no= count($data['DataAccounts']);
|
||||
@endphp
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no++ }}</td>
|
||||
<td class="text-left space1">{{ $val['SHORT_NAME'] }}</td>
|
||||
<td class=" text-center space1"></td>
|
||||
<td class=" text-center space1">{{ $val['CURRENCY'] }}</td>
|
||||
<td class=" text-right space1">{{ $val['WORKING_BALANCE'] }}</td>
|
||||
<td class="text-center space1 ">{{ $val['TERM'] }}</td>
|
||||
<td class="text-center space1 ">{{ $val['FIXED_RATE'] }}</td>
|
||||
<td class="text-center space1 ">{{ $val['MATURITY_DATE'] }}</td>
|
||||
<td class="text-center space1">{{ $val['ACCOUNT_NUMBER'] }} </td>
|
||||
</tr>
|
||||
@else
|
||||
@php
|
||||
$no= count($data['DataAccounts']);
|
||||
@endphp
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no+1 }}</td>
|
||||
<td class="text-left space1">DEPOSITO</td>
|
||||
<td class=" text-center space1"></td>
|
||||
@ -211,27 +203,9 @@
|
||||
<td class="text-center space1 "></td>
|
||||
<td class="text-center space1"></td>
|
||||
</tr>
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
{{-- @if ($data['dataAADepo'] == null)
|
||||
@php
|
||||
$no= count($data['DataAccounts']);
|
||||
@endphp
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no+1 }}</td>
|
||||
<td class="text-left space1">DEPOSITO</td>
|
||||
<td class=" text-center space1"></td>
|
||||
<td class=" text-center space1"></td>
|
||||
<td class=" text-center space1">NIHIL</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>
|
||||
@endif --}}
|
||||
|
||||
@else
|
||||
<tr class="">
|
||||
<td class="space1" colspan="9" style="text-align: center;">NIHIL</td>
|
||||
@ -259,15 +233,14 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="page-break-inside: avoid;">
|
||||
@if (count($data['DataPinjaman'])>0 OR count($data['DataRK'])>0 OR $data['totalOutstanding'] != 'NIHIL' )
|
||||
@if (count($data['DataPinjaman'])>0)
|
||||
@if (count($data['DataLoan'])>0)
|
||||
@php $i=1;
|
||||
$saldo = '';
|
||||
@endphp
|
||||
@foreach ($data['DataPinjaman'] as $key1 => $pinjaman)
|
||||
@foreach ($data['DataLoan'] as $key1 => $pinjaman)
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $i++ }}</td>
|
||||
<td class="space1">{{ $pinjaman['PRODUCT'] }}</td>
|
||||
<td class="space1">{{ $pinjaman['SHORT_NAME'] }}</td>
|
||||
<td class="text-center space1 "></td>
|
||||
<td class="text-center space1">{{ $pinjaman['CURRENCY'] }}</td>
|
||||
<td class="text-right space1">{{$pinjaman['WORKING_BALANCE']}}</td>
|
||||
@ -277,57 +250,6 @@
|
||||
<td class="text-center space1">{{ $pinjaman['ACCOUNT_NUMBER'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if (count($data['DataRK']) > 0)
|
||||
@php
|
||||
$no = 0;
|
||||
if (count( $data['DataPinjaman']) > 0) {
|
||||
$no = count($data['DataPinjaman']) + 1 ;
|
||||
}else{
|
||||
$no = 1 ;
|
||||
}
|
||||
@endphp
|
||||
|
||||
@foreach ($data['DataRK'] as $rk => $dtRK)
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no++ }}</td>
|
||||
<td class="space1">{{ $dtRK['SHORT_NAME'] }}</td>
|
||||
<td class="text-center space1 "></td>
|
||||
<td class="text-center space1">{{ $dtRK['CURRENCY'] }}</td>
|
||||
<td class="text-right space1">{{$dtRK['WORKING_BALANCE']}}</td>
|
||||
<td class="text-center space1">{{$dtRK['TERM']}} BLN</td>
|
||||
<td class="text-center space1">{{$dtRK['FIXED_RATE']}} %</td>
|
||||
<td class="text-center space1">{{$dtRK['MATURITY_DATE']}}</td>
|
||||
<td class="text-center space1">{{ $dtRK['ACCOUNT_NUMBER'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if ($data['totalOutstanding'] != 'NIHIL')
|
||||
@php
|
||||
$no = 0;
|
||||
if (count( $data['DataPinjaman']) > 0) {
|
||||
$no = count($data['DataPinjaman']) + 1 ;
|
||||
}else if(count( $data['DataRK']) > 0){
|
||||
$no = count($data['DataRK']) + 1 ;
|
||||
}else{
|
||||
$no = 1;
|
||||
}
|
||||
@endphp
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no++ }}</td>
|
||||
<td class="space1">ANJAK PIUTANG</td>
|
||||
<td class="text-center space1 "></td>
|
||||
<td class="text-center space1">{{$data['loanCcy']}}</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>
|
||||
|
||||
@endif
|
||||
@else
|
||||
<tr class="space1">
|
||||
<td class="space1" colspan="9" style="text-align: center;">NIHIL</td>
|
||||
@ -356,17 +278,12 @@
|
||||
<tbody style="page-break-inside: avoid;">
|
||||
@if (count($data['DataFasilitas']) > 0 )
|
||||
@php
|
||||
$no = 0;
|
||||
if (count( $data['DataLimit']) > 0) {
|
||||
$no = count($data['DataLimit']) + 1 ;
|
||||
}else{
|
||||
$no = 1 ;
|
||||
}
|
||||
$nos = 1;
|
||||
@endphp
|
||||
|
||||
@foreach ($data['DataFasilitas'] as $fasilitas)
|
||||
<tr class="space1">
|
||||
<td class="text-center space1">{{ $no++ }}</td>
|
||||
<td class="text-center space1">{{ $nos++ }}</td>
|
||||
<td class="space1">{{ $fasilitas['jenis_fasilitas'] }}</td>
|
||||
<td class="text-center space1"></td>
|
||||
{{-- <td class="text-center space1">{{ \Carbon\Carbon::parse($fasilitas->start_date)->format('d-m-Y') }}</td> --}}
|
||||
|
Reference in New Issue
Block a user