@extends('layouts.app') @section('header') Booking #{{ $booking->id }} @endsection @section('content')
Customer
{{ $booking->customer->name }} ({{ $booking->customer->email }})
Provider
{{ $booking->providerProfile->business_name ?? $booking->providerProfile->user->name }}
Service
{{ $booking->service->name }} ({{ $booking->service->category->name }})
Type
{{ $booking->booking_type === 'instant' ? '⚡ Insta Help' : '📅 Scheduled' }}
Scheduled
{{ $booking->scheduled_at->format('d M Y, H:i') }}
Address
{{ $booking->address_line }}, {{ $booking->city }}
Status
{{ str_replace('_', ' ', $booking->status) }}
Amount
₹{{ number_format($booking->amount, 2) }}
Commission
{{ $booking->commission_amount !== null ? '₹'.number_format($booking->commission_amount, 2) : 'Pending completion' }}
Provider payable
{{ $booking->provider_payable !== null ? '₹'.number_format($booking->provider_payable, 2) : '—' }}
Payment status
{{ $booking->payment_status }}
@if ($booking->notes)

Notes: {{ $booking->notes }}

@endif @if ($booking->payment_status === 'pending')
@csrf @method('PATCH')
@endif
@endsection