@extends('layouts.app') @section('content')
Manage and track all booking requests
| Booking Reference | Customer | Resource/Property | Dates | Participants | Amount | Status | Payment | Actions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $booking->booking_reference }}
{{ $booking->created_at->format('M d, Y H:i') }}
{{ $booking->slots_count }} Slots |
{{ $booking->customer_name }}
{{ $booking->customer_email }}
@if($booking->subscription)
Subscription @endif |
@if($booking->bookingResource)
{{ $booking->bookingResource->name }}
{{ ucfirst($booking->bookingResource->resource_type) }}
@elseif($booking->bookingProperty)
{{ $booking->bookingProperty->name }}
{{ $booking->bookingProperty->type }}
@endif
|
Multiple Dates
{{ $booking->slots->first()->start_datetime->format('M d') }} - {{ $booking->slots->last()->start_datetime->format('M d, Y') }}
|
{{ $booking->participants }} {{ Str::plural('participant', $booking->participants) }} |
RM {{ number_format($booking->total_price, 2) }}
@if($booking->amount_paid > 0 && $booking->amount_paid < $booking->total_price)
RM {{ number_format($booking->amount_paid, 2) }} paid
@endif
|
{{ ucfirst($booking->status) }} | {{ ucfirst($booking->payment_status) }} | |||||||||
|
||||||||||||||||
|
{{ $booking->booking_reference }}
{{ $booking->created_at->format('M d, Y H:i') }}
|
{{ $booking->customer_name }}
{{ $booking->customer_email }}
|
@if($booking->bookingResource)
{{ $booking->bookingResource->name }}
{{ ucfirst($booking->bookingResource->resource_type) }}
@elseif($booking->bookingProperty)
{{ $booking->bookingProperty->name }}
{{ $booking->bookingProperty->type }}
@else
N/A
@endif
|
{{ $booking->start_datetime->format('M d, Y') }}
{{ $booking->start_datetime->format('g:i A') }} - {{ $booking->end_datetime->format('g:i A') }}
|
{{ $booking->participants }} {{ Str::plural('participant', $booking->participants) }} |
RM {{ number_format($booking->total_price, 2) }}
@if($booking->amount_paid > 0 && $booking->amount_paid < $booking->total_price)
RM {{ number_format($booking->amount_paid, 2) }} paid
@endif
|
{{ ucfirst($booking->status) }} | {{ ucfirst($booking->payment_status) }} | |||||||||