@extends('business.layout') @section('title', 'Sales History & Receipts') @section('content')
| Receipt # | Date | Customer | Cashier | Total (UGX) | Payment | Actions |
|---|---|---|---|---|---|---|
| {{ $s->receipt_number }} | {{ $s->sold_at?->format('Y-m-d H:i') }} | {{ $s->customer->name ?? 'Walk-in' }} | {{ $s->user->name ?? '-' }} | UGX {{ number_format((float)$s->total_amount) }} | {{ $s->payment_status }} | Receipt / Print @if($s->status === 'completed' && \App\Support\Rbac::hasPermission(auth()->user()->role, 'pos.void_refund')) @endif |
| No sales found. | ||||||