@extends('emails.layout') @section('body') @php $daysLeft = now()->diffInDays($invoice->due_date, false); @endphp
@if($daysLeft > 0) Invoice {{ $invoice->invoice_number }} is due in {{ $daysLeft }} day(s) on {{ $invoice->due_date->format('d/m/Y') }}. @else Invoice {{ $invoice->invoice_number }} is due today. @endif
This is a reminder from {{ $invoice->user->business_name }} that your invoice {{ $invoice->invoice_number }} for ₦{{ number_format($invoice->total, 2) }} is due soon.