@extends('layouts.index') @section('content')
PureWellness
{{ $order->order_date }}
Sales Receipt
Sold By: {{ $order->user->name ?? 'Unknown' }}
Sold To: {{ $order->customer->name ?? 'Walk-in Customer' }} ({{ $order->customer->phone ?? 'No phone' }})
| Item | Qty | Price | Discount | Total |
|---|---|---|---|---|
| {{ $item->product->product_name ?? 'Unknown Product' }} | {{ number_format($item->quantity, 2) }} | KES {{ number_format($item->price, 2) }} | {{ number_format($item->discount ?? 0, 2) }}% | KES {{ number_format($item->subtotal, 2) }} |
Sub Total: KES {{ number_format($order->total_amount, 2) }}
Total: KES {{ number_format($order->total_amount, 2) }}
@if ($invoice->creditNotes->count() > 0)Credit Notes: KES {{ number_format($invoice->total_credits, 2) }}
@endifOutstanding: KES {{ number_format(floor($invoice->amount - $invoice->paid), 0) }}
Note: Orders not paid within 24 hours will be canceled. Download the receipt for Pay Later option.