@extends('layouts.app') @section('title', 'Daily Sales Report') @section('breadcrumb')
{{ \Carbon\Carbon::parse($date)->format('l, F d, Y') }}
| Time | Order # | Customer | Cashier | Items | Payment | Amount | Status |
|---|---|---|---|---|---|---|---|
| {{ $order->created_at->format('h:i A') }} | {{ $order->order_number }} | {{ $order->customer?->name ?? 'Walk-in' }} | {{ $order->user?->name ?? '-' }} | {{ $order->items->count() }} | @foreach($order->payments as $payment) {{ ucfirst($payment->method) }} @endforeach | Rs. {{ number_format($order->total_amount, 2) }} | @php $statusClass = match($order->status) { 'completed' => 'status-completed', 'pending' => 'status-pending', 'cancelled' => 'status-cancelled', 'refunded' => 'status-refunded', default => 'status-pending' }; @endphp {{ ucfirst($order->status) }} |
|
No transactions on this date |
|||||||