@lang('modules.report.duePaymentsReceivedReport')

@foreach($customers ?? [] as $customer) @endforeach
@lang('app.export')
@forelse ($payments as $payment) @empty @endforelse @if ($totalAmount > 0) @endif
@lang('modules.customer.name') @lang('modules.order.amount') @lang('modules.order.paymentMethod') @lang('modules.order.orderNumber') @lang('app.dateTime')
{{ $payment->order->customer->name ?? '--' }} {{ currency_format($payment->due_amount_received, restaurant()->currency_id) }} @lang('modules.order.' . $payment->payment_method) {{ $payment->order->show_formatted_order_number ?? $payment->order->order_number ?? '--' }} {{ $payment->created_at->timezone(timezone())->format(dateFormat() . ' ' . timeFormat()) }}
@lang('messages.noPaymentFound')
@lang('modules.order.total') {{ currency_format($totalAmount, restaurant()->currency_id) }}