fixing query konbank
This commit is contained in:
@ -159,7 +159,47 @@
|
||||
<td class="text-center space1">{{ $val['ACCOUNT_NUMBER'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@if ($data['dataAADepo'] == null)
|
||||
|
||||
@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'] }} BLN</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
|
||||
<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
|
||||
|
||||
|
||||
{{-- @if ($data['dataAADepo'] == null)
|
||||
@php
|
||||
$no= count($data['DataAccounts']);
|
||||
@endphp
|
||||
@ -175,7 +215,7 @@
|
||||
<td class="text-center space1"></td>
|
||||
|
||||
</tr>
|
||||
@endif
|
||||
@endif --}}
|
||||
|
||||
@else
|
||||
<tr class="">
|
||||
|
Reference in New Issue
Block a user