@extends('layouts.app') @section('title', 'POS Report') @section('breadcrumb')
Payment methods and transaction details
| Date/Time | Order # | Cashier | Payment Method | Amount | Status |
|---|---|---|---|---|---|
|
{{ $order->created_at->format('M d, Y') }}
{{ $order->created_at->format('h:i A') }}
|
{{ $order->order_number }} | {{ $order->user?->name ?? '-' }} | @foreach($order->payments as $payment) {{ ucfirst(str_replace('_', ' ', $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) }} |