{{-- resources/views/employee/payments/show.blade.php --}} @extends('layouts.employee') @section('title', 'Payment Details - Chingu Bite') @section('content')
| Order Number: | #{{ $payment['order']['order_number'] ?? 'N/A' }} |
|---|---|
| Customer: | {{ $payment['order']['customer']['name'] ?? 'Guest' }} |
| Phone: | {{ $payment['order']['customer']['phone'] ?? 'N/A' }} |
| Email: | {{ $payment['order']['customer']['email'] ?? 'N/A' }} |
| Payment Method: | {{ $payment['payment_method']['name'] ?? 'Unknown' }} |
|---|---|
| Amount: | Rp {{ number_format($payment['amount'], 0, ',', '.') }} |
| Submitted: | {{ \Carbon\Carbon::parse($payment['created_at'])->format('d M Y, H:i') }} |
| Confirmed: | {{ \Carbon\Carbon::parse($payment['confirmed_at'])->format('d M Y, H:i') }} |
| Item | Qty | Price | Subtotal |
|---|---|---|---|
| {{ $item['menu']['name'] ?? 'Menu Item' }} | {{ $item['quantity'] }} | Rp {{ number_format($item['unit_price'], 0, ',', '.') }} | Rp {{ number_format($item['subtotal'], 0, ',', '.') }} |
| Subtotal: | Rp {{ number_format($payment['order']['total_amount'] ?? 0, 0, ',', '.') }} | ||
| Tax: | Rp {{ number_format($payment['order']['tax_amount'] ?? 0, 0, ',', '.') }} | ||
| Discount: | -Rp {{ number_format($payment['order']['discount_amount'] ?? 0, 0, ',', '.') }} | ||
| Final Amount: | Rp {{ number_format($payment['order']['final_amount'] ?? 0, 0, ',', '.') }} | ||
Order details not available
@endifPlease verify the payment proof and confirm or reject.
Confirmed by: {{ $payment['confirmed_by_user']['name'] ?? 'Staff' }}
Date: {{ \Carbon\Carbon::parse($payment['confirmed_at'])->format('d M Y, H:i') }}
{{ $payment['notes'] }}
@endif