Dear {{$body['receipt']['customer_name']}},

We have included the outstanding order payments in this email. Kindly see the order details below.

@php $totalDue = 0; @endphp @foreach ($body['receipt']['orders'] as $order) @php $totalDue += $order['amount_due']; @endphp @endforeach
Order # Date Total Amount Amount Due
{{ $order['order_no'] }} {{ date("d/m/Y", strtotime($order['created_at'])) }} {{ number_format($order['total'], 2) }} {{ number_format($order['amount_due'], 2) }}
{{ number_format($totalDue, 2) }}

Please follow this link to complete the payment for your outstanding dues.

Thanks

{{env('MAIL_FROM_NAME')}}