PureWellness

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' }})

@foreach($orderItems as $item) @endforeach
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($invoice->amount , 2) }}

Total: KES{{ number_format($order->total_amount, 2) }}

Credits: - KES{{ number_format($totalCredits, 2) }}

Due: KES {{ floor($invoice->amount - $invoice->paid) }}<

@if($invoice && $invoice->status === 'paid')

Thank you for your payment! Please keep this receipt for your records.

@else {{--

For pay later: Orders not paid within 24 hours will be canceled.

--}} @endif