@extends('layouts.list_pdf') @section('pdf-title') {{ __('Bank Accounts Transaction Lists') }} @endsection @section('header-info')

{{ __('Bank Accounts Transaction Lists') }}

{{ __('Payment Method') }}: {{ isset($method) && !empty($method) ? $method->name : __('All') }}

{{ __('Mode') }}: {{ isset($modeSelected) && !empty($modeSelected) ? $modeSelected : __('All') }}

@if(isset($date_range) && !empty($date_range))

{{ __('Period:') }} {{ $date_range }}

@endif

{{ __('Print Date:') }} {{ formatDate(date('d-m-Y')) }}

@endsection @section('list-table') @foreach($transactionList as $data) @endforeach
{{ __('Reference') }} {{ __('Payment Method') }} {{ __('Type') }} {{ __('Description') }} {{ __('Debit') }} {{ __('Credit') }} {{ __('Currency') }} {{ __('Date') }}
{{ $data->reference }} {{ $data->payment_method }}
{{ !empty($data->name) ? $data->name : '' }}
{{ ucwords(str_replace ('_',' ', strtolower($data->transaction_method))) }} {{ $data->description }} @if($data->amount > 0) {{ formatCurrencyAmount($data->amount) }} @else {{ formatCurrencyAmount(0) }} @endif @if($data->amount < 0) {{ formatCurrencyAmount(abs($data->amount)) }} @else {{ formatCurrencyAmount(0) }} @endif {{ $data->currency_name }} {{ formatDate($data->transaction_date) }}
@endsection