{{ strtoupper($business->name) }}

{{ $sale->branch->name ?? '' }}

@if($business->tin)

TIN: {{ $business->tin }}

@endif @if($business->address)

{{ $business->address }}

@endif
@if($sale->efrisTransaction?->is_mock)
NON-FISCAL DEVELOPMENT RECEIPT (EFRIS MOCK)
@endif
Receipt:{{ $sale->receipt_number }}
Date:{{ $sale->sold_at?->format('Y-m-d H:i') }}
Cashier:{{ $sale->user->name ?? '-' }}
Customer:{{ $sale->customer->name ?? 'Walk-in' }}

@foreach($sale->items as $item)
{{ $item->product_name }}
{{ (float)$item->quantity }} x {{ number_format((float)$item->unit_price) }} {{ number_format((float)$item->line_total) }}
@endforeach
Subtotal (Excl. VAT)UGX {{ number_format((float)$sale->subtotal) }}
VAT TaxUGX {{ number_format((float)$sale->tax_amount) }}
TOTALUGX {{ number_format((float)$sale->total_amount) }}
PaidUGX {{ number_format((float)$sale->amount_paid) }}
ChangeUGX {{ number_format((float)$sale->change_due) }}

{{ $business->settings['receipt_footer'] ?? 'Thank you for shopping with us!' }}