← Back to Dashboard

{{ $invoice->invoice_number }}

Issued: {{ $invoice->created_at->format('F d, Y') }} • Due: {{ $invoice->due_date->format('F d, Y') }}

{{ ucfirst($invoice->status) }}

Bill To

{{ $invoice->customer->name }}

@if($invoice->customer->company)

{{ $invoice->customer->company }}

@endif @if($invoice->customer->email)

{{ $invoice->customer->email }}

@endif @if($invoice->customer->phone)

{{ $invoice->customer->phone }}

@endif
@foreach($invoice->items as $item) @endforeach
Description Qty Unit Price Amount
{{ $item->description ?? 'Item' }} {{ $item->quantity }} KES {{ number_format($item->unit_price, 2) }} KES {{ number_format($item->subtotal, 2) }}
Subtotal: KES {{ number_format($invoice->subtotal, 2) }}
@if($invoice->discount > 0)
Discount: -KES {{ number_format($invoice->discount, 2) }}
@endif
VAT (16%): KES {{ number_format($invoice->vat, 2) }}
Total: KES {{ number_format($invoice->total, 2) }}
Paid: -KES {{ number_format($invoice->amount_paid, 2) }}
Balance: KES {{ number_format($invoice->balance, 2) }}
@if($invoice->balance > 0)

Make a Payment

Download PDF
@endif @if($invoice->payments->count() > 0)

Payment History

@foreach($invoice->payments as $payment) @endforeach
Date Method Reference Amount
{{ $payment->payment_date->format('M d, Y') }} {{ ucfirst(str_replace('_', ' ', $payment->payment_method)) }} {{ $payment->transaction_reference ?? '-' }} KES {{ number_format($payment->amount, 2) }}
@endif @if($showPaymentModal)

Pay with M-Pesa

Format: 2547XXXXXXXX

Amount: KES {{ number_format($invoice->balance, 2) }}

You'll receive an STK Push prompt on your phone to complete the payment.

@endif