Booking Info
{{ $booking->unique_booking_id }}
{{ optional($booking->customer)->name ?? '-' }}
{{ optional($booking->vendor)->name ?? '-' }}
{{ ucwords(array_flip(config('constant.booking_status'))[$booking->booking_status] ?? 'N/A') }}
{{ config('constant.booking_types')[$booking->booking_type] ?? 'N/A' }}
{{ ucfirst($booking->payment_type) }}
{{ $booking->booking_date_formatted }}
{{ number_format($booking->total_price, 2) . ' ' . $currency }}
{{ number_format($booking->discount_amount, 2) . ' ' . $currency }}
{{ number_format($booking->final_price, 2) . ' ' . $currency }}
{{ ($booking->promoCode)->code ?? '-' }}
{{ optional($booking->BookingCancelReason)->reason ?? '-' }}
Booking Items
| # | Service Name | Category | Total | Discount | Final | |
|---|---|---|---|---|---|---|
| {{ $key+1 }} | {{ $item->service_name }} | {{ $item->category_name }} | {{ number_format($item->total_price, 2) }} | {{ number_format($item->discount_price, 2) }} | {{ number_format($item->final_price, 2) }} | |
| No items found. | ||||||
{{-- Payment Transactions --}} @if($mergedTransactions->where('type', '!=', 'Wallet')->isNotEmpty())
Payment Transactions
| # | Type | Transaction ID | Amount | Invoice ID | Date |
|---|---|---|---|---|---|
| {{ $index++ }} | {{ $trans['type'] }} | {{ $trans['transaction_id'] }} | {{ number_format($trans['amount'], 2) . ' ' . $currency }} | {{ $trans['invoice_id'] ?? '-' }} | {{ $trans['created_at'] }} |
Wallet Transaction
| # | Type | Transaction ID | Amount | Invoice ID | Date |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $trans['type'] }} | {{ $trans['transaction_id'] }} | {{ number_format($trans['amount'], 2) . ' ' . $currency }} | {{ $trans['invoice_id'] ?? '-' }} | {{ $trans['created_at'] }} |