{{--
Booking Details — docs/wireframes-v12/view-booking.html, rebuilt on the
wireframe's own markup.
v12's layout, top to bottom:
1. a status row: the enlarged status pill on the left, Print / Edit /
Cancel Booking on the right;
2. a card carrying the three-tab strip and the panels under it;
3. the Basic tab: a `.grid-2` of the Customer Details and Unit Details
cards, then the Contact Person card.
The tabs are v12's three links, upgraded in place by nrems-tabs.js — the
wireframe points them at three separate pages (view-booking.html,
document-list.html, booking-history.html) and CR-8 §3.6 asks for same-page
panels, which is also what the edit screen does. Consistent, and one request
instead of three.
## Deliberate differences from the wireframe
* **The Payment Summary card is not rendered** (client: "financial not
required", CR-8 §1). Nothing on this screen mentions money.
* **PAN and Aadhaar rows are dropped** (decision D12). The wireframe draws
both in Customer Details and no screen in this module captures either —
a detail row cannot show data that was never collected, and inventing
the columns to fill them would be inventing a requirement.
* **Tower / Block, Floor, Unit Type and Built-up Area and Facing are
dropped from Unit Details** for the same reason: CR-5 §15.1 reduced
`units` to a number, an area and a status, so Project / Unit No. /
Carpet Area is the whole of what exists.
* **The Co-Owner row becomes one row per co-owner.** The wireframe writes
a single "Sonal Patel (Spouse)"; there is no relationship field in this
module and there can be more than one co-owner, so each gets a row and
the parenthesis goes.
* **Nothing is ADDED to either card.** Every difference above is a
removal, which is what decision D12 authorises; §4 fixes the row lists
and this screen renders exactly them. Occupation, Address, Booking Date,
Booking Entity Type, Inquiry and Assigned Sales Person are all
maintained on the edit form and none of them is drawn here.
* **Dates are `d M Y`**, the format the rest of this module writes
(`config('nrems.date_format')` is `d-m-Y` and is what the *inquiries*
detail screen uses — mixing the two inside one module would be the
drift, so nothing on this screen reads it).
* **Print is `window.print()`** — the wireframe's button has no behaviour
at all. It is the one inline handler on this page and it carries no
data; a print stylesheet is future work.
## No lang file (CR-8 §0.1)
Every string on this screen is written here, on the client's instruction.
## Escaping
Every value on this page is user-supplied text and every one goes out
through `{{ }}`. The only `{!! !!}` is none: this file has no raw output at
all.
--}}
@extends('layouts.app')
@section('title', 'Booking Details - '.$booking->code)
@section('breadcrumbs')