@extends('pdf') @section('content-area')

@lang('All non invoice payments: ')

@foreach ($payments as $key => $payment) @endforeach
@lang('#') @lang('Client') @lang('Payment Type') @lang('Paid Amount') @lang('Account') @lang('Payment Date') @lang('Status')
{{ ++$key }} {{ $payment['client']['name'] }} @if ($payment['type'] == 1) @lang('Due Paid') @else @lang('Due Added') @endif @currency($payment['amount']) @if (isset($payment['payment_transaction'])) {{ $payment['payment_transaction']['cashbook_account']['bank_name'] }} [{{ $payment['payment_transaction']['cashbook_account']['account_number'] }}] @endif {{ \Carbon\Carbon::parse($payment['date'])->format('d-M-Y') }} @if ($payment['status']) @lang('Active') @else @lang('Inactive') @endif
@endsection