@if($invoice->status === 'paid')
PAID
@endif
Bill To
{{ $invoice->customer_name }}
@if($invoice->customer_email){{ $invoice->customer_email }}
@endif
@if($invoice->customer_phone){{ $invoice->customer_phone }}@endif
Invoice Details
Date: {{ $invoice->created_at->format('M d, Y') }}
@if($invoice->due_date)
Due: {{ $invoice->due_date->format('M d, Y') }}
@endif
@if($invoice->status === 'paid' && $invoice->paid_at)
Paid: {{ $invoice->paid_at->format('M d, Y') }}
@endif
Amount Due
{{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->amount, 2) }}
@if($invoice->amount_paid > 0)
Paid: {{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->amount_paid, 2) }}
@endif
| # |
Description |
Qty |
Unit Price |
Total |
@foreach($invoice->items as $i => $item)
| {{ $i + 1 }} |
{{ $item->description }} |
{{ number_format($item->quantity, 2) }} |
{{ $invoice->business->currency ?? '₦' }}{{ number_format($item->unit_price, 2) }} |
{{ $invoice->business->currency ?? '₦' }}{{ number_format($item->total, 2) }} |
@endforeach
Subtotal
{{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->subtotal, 2) }}
@if($invoice->tax > 0)
Tax
{{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->tax, 2) }}
@endif
@if($invoice->discount > 0)
Discount
- {{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->discount, 2) }}
@endif
Total
{{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->amount, 2) }}
@if($invoice->amount_paid > 0)
Paid
- {{ $invoice->business->currency ?? '₦' }}{{ number_format($invoice->amount_paid, 2) }}
Balance Due
{{ $invoice->business->currency ?? '₦' }}{{ number_format(max(0, $invoice->amount - $invoice->amount_paid), 2) }}
@endif
@if($invoice->payment_link && $invoice->status !== 'paid')
Pay Online
{{ $invoice->payment_link }}
@endif
@if($invoice->notes)
Notes
{{ $invoice->notes }}
@endif