{{ $order->store?->name ?? 'My Store' }}
@if($order->store?->address)
{{ $order->store->address }}
@endif @if($order->store?->phone)
Tel: {{ $order->store->phone }}
@endif @if($order->store?->email)
{{ $order->store->email }}
@endif @if($order->store?->receipt_header)
{{ $order->store->receipt_header }}
@endif

Order: {{ $order->order_number }}
Date: {{ $order->created_at->format('d/m/Y H:i') }}
Cashier: {{ $order->user?->name ?? '—' }}
@if($order->customer)
Customer: {{ $order->customer->name }}
@endif
@foreach($order->items as $item)
{{ $item->product_name }}
{{ $item->quantity }} x Rs.{{ number_format($item->unit_price,2) }}Rs.{{ number_format($item->total,2) }}
@endforeach
SubtotalRs.{{ number_format($order->subtotal,2) }}
@if($order->discount_amount > 0)
Discount-Rs.{{ number_format($order->discount_amount,2) }}
@endif @if($order->tax_amount > 0)
TaxRs.{{ number_format($order->tax_amount,2) }}
@endif
TOTALRs.{{ number_format($order->total_amount,2) }}
@foreach($order->payments as $p)
{{ ucfirst(str_replace('_',' ',$p->method)) }}Rs.{{ number_format($p->amount,2) }}
@endforeach @if($order->change_amount > 0)
ChangeRs.{{ number_format($order->change_amount,2) }}
@endif

{{ $order->store?->receipt_footer ?? 'Thank you for your business!' }}

Ceyloan POS • Powered by Nexfloit