@foreach($paymentsReports as $paymentsReport) @endforeach
{{ __('messages.common.no') }} {{ __('messages.account.type') }} {{ __('messages.payment.payment_date') }} {{ __('messages.payment.account_name') }} {{ __('messages.payment.pay_to') }} {{ __('messages.payment.amount') }} {{ __('messages.payment.description') }}
{{ $loop->iteration }} {{ ($paymentsReport->accounts->type == 1) ? 'Debit' : 'Credit' }} {{ date('jS M, Y', strtotime($paymentsReport->payment_date)) }} {{ $paymentsReport->account->name }} {{ $paymentsReport->pay_to }} {{ number_format($paymentsReport->amount, 2) }} {{ $paymentsReport->description }}