| Bank Name : |
{{$data['bank']->bank_name}} |
Adress : |
{!! $data['bank']->address !!} |
| AC/No : |
{{$data['bank']->account_number}} |
Print Date & Time : |
{{date('d-m-Y || h:i:s a')}} |
| Transaction Type |
Date |
Cheque No. |
Ammount |
@if($data['data'])
@foreach ($data['data'] as $v)
@php
if($v->transaction_type == 1 || $v->transaction_type == 4)
{
$amount = $v->amount;
}
else {
$amount = $v->amount * -1;
}
$bankBalance = $bankBalance + $amount;
@endphp
|
@if($v->transaction_type == 1)
(+) Deposit
@elseif($v->transaction_type == 2)
(-) Withdraw
@elseif($v->transaction_type == 3)
(-) Cost
@else
(+) Interest
@endif
|
{{ DateFormat::DbToMonthDate('-',$v->date)}}
|
{{ $v->cheque_no ?: '-'}}
|
@if($v->transaction_type == 2 || $v->transaction_type == 3)
({{$v->amount}})
@else
{{$v->amount}}
@endif
|
@endforeach
@endif
|
Total
|
{{$bankBalance}}
|
Taka In Word : {{ NumberToWord::convertWord($bankBalance) }} Taka Only
@include('admin.footer_script.footer')