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

@lang('Invoice payments list')

@foreach ($payments as $key => $invoicePayment) @endforeach
@lang('#') @lang('Invoice No') @lang('Client') @lang('Total') @lang('Paid Amount') @lang('Account') @lang('Payment Date') @lang('Status')
{{ ++$key }} {{ config('config.invoicePrefix') . '-' . $invoicePayment['invoice']['invoice_no'] }} {{ $invoicePayment['invoice']['client']['name'] }} @currency($invoicePayment['invoice']['calculated_total']) @currency($invoicePayment['amount']) @if (isset($invoicePayment['invoice_payment_transaction'])) {{ $invoicePayment['invoice_payment_transaction']['cashbook_account']['bank_name'] }} [{{ $invoicePayment['invoice_payment_transaction']['cashbook_account']['account_number'] }}] @endif {{ \Carbon\Carbon::parse($invoicePayment['date'])->format('d-M-Y') }} @if ($invoicePayment['status']) @lang('Active') @else @lang('Inactive') @endif
@endsection