{{ $company['name'] }}
{{ $company['address'] }}
Phone: {{ $company['phone'] }}
Email: {{ $company['email'] }}
INVOICE
Invoice #: {{ $invoice->invoice_number }}
Date: {{ $invoice->invoice_date->format('M d, Y') }}
Due Date: {{ $invoice->due_date->format('M d, Y') }}
Status: {{ ucfirst($invoice->status) }}
Bill To:
{{ $customer->name }}
@if($customer->company)
{{ $customer->company }}
@endif @if($customer->email)
Email: {{ $customer->email }}
@endif @if($customer->phone)
Phone: {{ $customer->phone }}
@endif @if($customer->address)
{{ $customer->address }}
@endif
@foreach($items as $item) @endforeach
Description Qty Unit Price Subtotal
{{ $item->description }} {{ $item->quantity }} KES {{ number_format($item->unit_price, 2) }} KES {{ number_format($item->subtotal, 2) }}
@if($invoice->discount > 0) @endif
Subtotal: KES {{ number_format($invoice->subtotal, 2) }}
Tax ({{ $invoice->tax_rate }}%): KES {{ number_format($invoice->tax_amount, 2) }}
Discount: - KES {{ number_format($invoice->discount, 2) }}
TOTAL: KES {{ number_format($invoice->total, 2) }}
Amount Paid: KES {{ number_format($invoice->amount_paid, 2) }}
Balance Due: KES {{ number_format($invoice->balance, 2) }}
@if($invoice->notes)
Notes:
{{ $invoice->notes }}
@endif