@use('App\Mail\PaymentReminderMail') Dear {!! PaymentReminderMail::markdownText($customer->name) !!}, @switch($reminder->level) @case(3) This is a final notice. Please arrange payment, or contact us, within 7 days. @break @case(2) We have not yet received payment for the following overdue invoices. @break @default This is a friendly reminder that the following invoices are overdue. @endswitch | Invoice | Due date | Days overdue | Balance | Covered by cheque | Left to chase | | :------ | :------- | -----------: | ------: | ----------------: | ------------: | @foreach ($rows as $row) | {!! PaymentReminderMail::markdownText($row->invoice->number) !!} | {{ $row->invoice->due_date->format('j M Y') }} | {{ $row->days_past_due }} | {{ $row->balance->format() }} | {{ $row->covered->format() }} | {{ $row->to_chase->format() }} | @endforeach **Total left to chase: {{ $reminder->total_to_chase->format() }}** Your statement and the invoices are attached. Regards,
{!! PaymentReminderMail::markdownText($branch->name) !!}
{!! PaymentReminderMail::markdownLines($branch->address) !!}