@extends('layouts.admin') @section('title',$booking->number) @section('heading','Property booking') @section('content')

{{ $booking->number }}

{{ $booking->property?->title }}

Back
Status{{ ucfirst($booking->status) }}
Stay{{ $booking->check_in->format('d M') }}–{{ $booking->check_out->format('d M Y') }}
Guests{{ $booking->guests }}
Total{{ number_format((float)$booking->total,2) }}{{ ucfirst($booking->payment_status) }} via {{ $booking->payment_method }}

Customer

{{ $booking->customer?->name }}
{{ $booking->customer?->email }}
{{ $booking->customer?->phone }}

Pricing

{{ $booking->units }} × {{ number_format((float)$booking->unit_price,2) }}
Deposit: {{ number_format((float)$booking->security_deposit,2) }}
Total: {{ number_format((float)$booking->total,2) }}

@if($transitions)

Update workflow

@csrf
@endif @endsection