@extends('garage.layouts.app') @section('title', 'Cash Register Report') @push('styles') @endpush @section('content')

Cash Register Report

Sales totals by payment method for selected date range.
Back to reports
Grand total
PKR {{ number_format((float)($totals['grand_total'] ?? 0), 2) }}
Cash
PKR {{ number_format((float)($totals['cash_total'] ?? 0), 2) }}
Card
PKR {{ number_format((float)($totals['card_total'] ?? 0), 2) }}
Online
PKR {{ number_format((float)($totals['online_total'] ?? 0), 2) }}
Sales
@forelse($rows as $r) @empty @endforelse
Date Invoice Status Cash Card Online Grand total
{{ $r->sale_date }} @if(!empty($r->id)) {{ $r->invoice_number ?? ('#'.$r->id) }} @else {{ $r->invoice_number ?? '-' }} @endif {{ str_replace('_',' ', (string)($r->status ?? '')) }} PKR {{ number_format((float)($r->cash_amount ?? 0), 2) }} PKR {{ number_format((float)($r->card_amount ?? 0), 2) }} PKR {{ number_format((float)($r->online_amount ?? 0), 2) }} PKR {{ number_format((float)($r->grand_total ?? 0), 2) }}
No sales found for selected dates.
@endsection