{{ __('main.customer_payment_report') }}
@if (Auth::user()->user_type == 2)
@endif
{{ __('main.voucher_no') }} {{ __('main.date') }} {{ __('main.customer') }} {{ __('main.paid_amount') }} {{ __('main.payment_method') }} {{ __('main.payment_type') }} {{ __('main.branch') }}
@foreach ($payments as $item) @if ($item->payment_type == 1) @elseif($item->payment_type == 2) @elseif($item->payment_type == 3) @endif @endforeach
#{{ $item->voucher_no }} {{ $item->date->format('d/m/Y') }} [{{ $item->customer->file_number ?? '' }}] {{ $item->customer->first_name ?? '' }} {{ getFormattedCurrency($item->paid_amount) }} {{ getPaymentMode($item->payment_mode) }}
{{ __('main.invoice') }}
#{{ $item->invoice->invoice_number ?? '' }}
{{ __('main.opening_balance') }}
{{ __('main.cash_receipt') }}
{{ $item->createdBy->name ?? '' }}