@extends('layouts.app') @section('title', 'Détails de la réservation #' . ($booking->id ?? 'N/A')) @section('content') @php // Ensure variables are defined for backward compatibility $isMultiSlotSession = $isMultiSlotSession ?? false; $allBookings = $allBookings ?? collect([$booking]); $relatedBookings = $relatedBookings ?? collect(); $totalSessionPrice = $totalSessionPrice ?? ($booking->total_price ?? 0); // Function to clean session ID from notes for display function cleanNotesForDisplay($notes) { if (!$notes) return null; return trim(preg_replace('/\[SESSION:[^\]]+\]/', '', $notes)) ?: null; } @endphp
Réservation #{{ $booking->booking_number ?? 'N/A' }} - {{ $booking->service->name ?? 'Service supprimé' }}
Impossible d'accepter ou refuser cette réservation car le service a été supprimé.
Impossible de marquer cette réservation comme terminée car le service a été supprimé.