@extends('layouts.app') @section('title', 'Booking Details · ' . $booking->booking_no) @section('content') @php $item = $booking->items->first(); $payment = $booking->payments; $advance = (float) ($payment?->advance_amount ?? 0); $balance = max(0, (float) $booking->grand_total - $advance); @endphp
Booked on {{ date('d M, Y', strtotime($booking->booking_date)) }}
{{ $booking->customer?->name ?? $booking->customer_name }}
Mobile: {{ $booking->mobile ?: '-' }}
Address: {{ $booking->address ?: '-' }}
{{ $booking->job_name }}