@extends('layouts.sidebar') @section('title', 'Nomadic - Booking Confirmation Detail') @section('content')
| Member | {{ $member ? $member->fname . ' ' . $member->lname : 'N/A' }} |
|---|---|
| {{ $member->email ?? 'N/A' }} | |
| Location | {{ $booking->location_name }} |
| Date | {{ $booking->start_date }} - {{ $booking->end_date }} |
| Time | {{ substr($booking->start_time, 0, 5) }} - {{ substr($booking->end_time, 0, 5) }} |
| Total Points | {{ $booking->total_points }} pts |
| Booking Status | @if($booking->status == 0) Active @elseif($booking->status == 1) Completed @elseif($booking->status == 2) Cancelled @endif |
| Confirmation | @if($booking->confirmation_status === 'pending') Pending Confirmation @elseif($booking->confirmation_status === 'confirmed') All Confirmed @elseif($booking->confirmation_status === 'escalated') Escalated @elseif($booking->confirmation_status === 'declined') Declined @endif |
| Deadline | {{ \Carbon\Carbon::parse($booking->confirmation_deadline)->format('M d, Y H:i') }} @if(\Carbon\Carbon::parse($booking->confirmation_deadline)->isFuture()) ({{ \Carbon\Carbon::parse($booking->confirmation_deadline)->diffForHumans() }}) @else (expired) @endif |
| Studio | {{ $studioData->name }} | {{ $details->where('type','studio')->first()->points ?? 0 }} pts |
|---|---|---|
| Studio Equipment | {{ $studioEquipmentData->name }} | {{ $details->where('type','studio_equipment')->first()->points ?? 0 }} pts |
| Rental Equipment | {{ $equipmentData->name }} | {{ $details->where('type','rental')->first()->points ?? 0 }} pts |
| Team Member | {{ $resourceData->fname }} {{ $resourceData->lname }} | {{ $details->where('type','resource')->first()->points ?? 0 }} pts |
| Name | Role | Resource | Status | Responded At | Decline Reason |
|---|---|---|---|---|---|
| {{ $confUser ? $confUser->fname . ' ' . $confUser->lname : 'Unknown' }} | {{ ucwords(str_replace('_', ' ', $conf->role)) }} | {{ ucwords(str_replace('_', ' ', $conf->resource_type)) }} | @if($conf->status === 'pending') Pending @elseif($conf->status === 'confirmed') Confirmed @else Declined @endif | {{ $conf->responded_at ? \Carbon\Carbon::parse($conf->responded_at)->format('M d, Y H:i') : '-' }} |
@if($conf->decline_reason_code)
{{ ucwords(str_replace('_', ' ', $conf->decline_reason_code)) }}
@if($conf->decline_reason_text)
{{ $conf->decline_reason_text }} @endif @else - @endif |
As location manager, you can force-confirm or cancel this booking.
If a confirmed resource did not show up for this session, report them here.
@php $resourceDetails = $details->whereIn('type', ['resource', 'rental', 'studio_equipment']); @endphp @if($resourceDetails->isNotEmpty()) @elseNo reportable resources in this booking.
@endif