@extends('admin.layouts.app') @section('title', 'Booking Details') @section('content')

Booking Details

Back to Bookings

Booking Information

Booking ID
#{{ $booking->id }}
Service Type
{{ $booking->service_type }}
Booking Date
{{ $booking->booking_date->format('M d, Y') }}
Booking Time
{{ $booking->booking_time }}
Status
{{ ucfirst(str_replace('_', ' ', $booking->status)) }}
Payment Status
{{ ucfirst($booking->payment_status) }}
Total Price
{{ $booking->total_price ? 'Rp ' . number_format($booking->total_price) : 'Not set' }}
@if ($booking->description)
Description
{{ $booking->description }}
@endif @if ($booking->notes)
Admin Notes
{{ $booking->notes }}
@endif

Customer Information

Name
{{ $booking->user->name }}
Email
{{ $booking->user->email }}
@if ($booking->user->phone)
Phone
{{ $booking->user->phone }}
@endif @if ($booking->user->address)
Address
{{ $booking->user->address }}
@endif

Vehicle Information

Brand
{{ $booking->vehicle_brand }}
Model
{{ $booking->vehicle_model }}
Year
{{ $booking->vehicle_year }}
Plate Number
{{ $booking->vehicle_plate }}
@if ($booking->bukti_pembayaran)

Payment Proof

Payment Proof
@endif

Update Booking Status

@csrf @method('PATCH')

Update Payment Status

@csrf @method('PATCH')
@endsection