@extends('layouts.list_pdf') @section('pdf-title')
{{ __('Bank Statement') }}
{{ __('Account') }}: @if($bankAccounts != 'All') {{ $bankAccounts->name }} ({{ $bankAccounts->currency->name }}) @else {{ $bankAccounts }} @endif
{{ __('Period') }}: {{ $date_range }}
{{ __('Print Date') }}: {{ formatDate(date('d-m-Y')) }}
| {{ __('Date') }} | {{ __('Type') }} | {{ __('Description') }} | {{ __('Cash out (Credit)') }} | {{ __('Cash in (Debit)') }} | {{ __('Balance') }} |
| {{ __('Balance On') }} {{ formatDate($from) }} | {{ formatCurrencyAmount($amount) }} | ||||
| {{ formatDate($data->transaction_date) }} | {{ ucwords(str_replace ('_',' ', strtolower($data->transaction_method))) }} | {{ $data->description }} | @if($data->amount <= 0) {{ formatCurrencyAmount(abs($data->amount)) }} @else {{ formatCurrencyAmount(0) }} @endif | @if($data->amount > 0) {{ formatCurrencyAmount(abs($data->amount)) }} @else {{ formatCurrencyAmount(0) }} @endif | {{ formatCurrencyAmount($newBalance) }} |
| {{ __('Balance On') }} {{ formatDate(date('Y-m-d')) }} | {{ formatCurrencyAmount(abs($totalDebit), $presentCurrency->name) }} | {{ formatCurrencyAmount(abs($totalCredit), $presentCurrency->name) }} | {{ formatCurrencyAmount($totalCredit + $totalDebit + $amount, $presentCurrency->name) }} |