@extends('backend.app') @section('title', 'View Booking Details') @section('content')

Booking Details {{ $booking->status }}

Booking Type: {{ ucfirst($booking->booking_type) }}
Date: {{ $booking->created_at->format('Y-m-d') }}
Customer Info
{{ $booking->customer->name }}
{{ $booking->customer->email }}
Owner Info
{{ $booking->owner->name }}
{{ $booking->owner->email }}
Service Info
{{ $booking->service->title }}
${{ $booking->service->price }}
@if ($booking->items->count())
Included Items
@foreach ($booking->items as $item) @endforeach
Item Price
{{ $item->description }} ${{ number_format($item->price, 2) }}
@endif
Subtotal: ${{ number_format($booking->subtotal, 2) }}
Tax: ${{ number_format($booking->tax, 2) }}
Total: ${{ number_format($booking->total, 2) }}
@endsection