@extends('layouts.app') @section('title', 'Sales History') @section('content')
Monitor and manage all your transactions in one place.
| Invoice | Customer | Products | Payment | Total | Actions |
|---|---|---|---|---|---|
|
{{ $s->invoice_no ?? 'INV-' . str_pad($s->id, 5, '0', STR_PAD_LEFT) }}
{{ $s->created_at->format('d M Y, H:i') }}
|
{{ $s->customer_name ?: 'Walk-in' }}
@if($cashier)by {{ $cashier }} @endif
|
@if($first)
{{ optional($first->product)->name ?? 'Deleted product' }}@if($more > 0) +{{ $more }}@endif
@else
No items
@endif
{{ rtrim(rtrim(number_format((float) $s->total_items, 2), '0'), '.') }} {{ \Illuminate\Support\Str::plural('item', (float) $s->total_items) }}
|
{{ $methodLabel }}
{{ ucfirst($s->payment_status) }}
|
MWK {{ number_format($s->total_amount, 2) }} | |
| No sales match these filters. | |||||