{{ $settings['business_name'] ?? config('app.name') }}
@if(!empty($settings['business_tagline']))
{{ $settings['business_tagline'] }}
@endif @if(!empty($settings['phone']))
Tel: {{ $settings['phone'] }}
@endif @if(!empty($settings['address']))
{{ $settings['address'] }}
@endif
Receipt #{{ $sale->reference_no }} • {{ $sale->sale_date->format('d M Y H:i') }}
@if($sale->client)
Client: {{ $sale->client->full_name }}
@endif @if($sale->cashier)
Cashier: {{ $sale->cashier->name }}
@endif
@php $enriched = $enriched ?? $sale->enrichedServiceItems(); @endphp @if($enriched->isNotEmpty()) @foreach($enriched as $si) @endforeach
Service Staff Qty Price Total
{{ $si['service_name'] }}
@if($si['discount_percent'] > 0)
{{ $si['discount_percent'] }}% off
@endif
{{ $si['staff_name'] ?? '—' }}
{{ $si['quantity'] }} {{ number_format($si['selling_price'], 2) }} {{ number_format($si['line_total'], 2) }}
@endif @if($sale->items->isNotEmpty()) @foreach($sale->items as $item) @endforeach
ProductQtyPriceTotal
{{ $item->product?->name ?? 'Product' }} {{ $item->quantity }} {{ number_format($item->selling_price, 2) }} {{ number_format($item->line_total, 2) }}
@endif
SubtotalKSh {{ number_format($sale->subtotal, 2) }}
@if($sale->discount_total > 0)
Discount- KSh {{ number_format($sale->discount_total, 2) }}
@endif
Grand TotalKSh {{ number_format($sale->total, 2) }}
@if($sale->total_paid > 0) @endif
@if(!empty($sale->payments))
@foreach($sale->payments as $pmt)
{{ ucfirst($pmt['method'] ?? 'Payment') }}@if(!empty($pmt['transaction_no'])) ({{ $pmt['transaction_no'] }})@endif KSh {{ number_format($pmt['amount'] ?? 0, 2) }}
@endforeach @endif @if($sale->remaining_balance > 0)
Balance Due: KSh {{ number_format($sale->remaining_balance, 2) }}
@else @endif