{{--
View Inquiry — docs/wireframes-v12/view-inquiry.html, rebuilt on the
wireframe's own markup.
v12's layout, top to bottom:
1. a header row: the status pill and the "code · date" line on the left,
Edit Inquiry and Proceed to Booking on the right;
2. a `.grid-2` — the detail card on the left, the Follow Up History card
on the right, top-aligned;
3. a Back to Inquiries button under both.
The detail card is six `.detail-section`s, each a title strip over a
`.detail-grid` of label/value pairs. Its page-local CSS is in
partials/styles.blade.php, which records rule by rule what was copied and
the five places the copy is deliberate rather than literal.
## Deliberate differences from the wireframe
* **"Budget Range" and "City" are not rendered** (CR-6 §5.5). v12's
Inquiry Details grid draws both, and neither is a field the inquiry form
collects or a column the table has. A detail row cannot show data that
was never captured, and inventing the columns to fill them would be
inventing a requirement — so the rows are dropped and the omission is
written down here, which is what recipe §0 asks for.
* **"Proceed to Booking" is live as of CR-8 §3.5.** It was an inert
disabled button while the Booking module was a non-goal (CR-6 §1); it
now links to the New Booking form prefilled from this inquiry, and
falls back to the disabled button when the user cannot create bookings
or when this inquiry already holds one. The three states and their
reasoning are in inquiries/partials/proceed-to-booking.blade.php.
* **The Follow Up History is real data, not the wireframe's four mock
entries**, and it shares partials/history.blade.php with the follow-up
page (CR-6 §5.5). That partial's header explains the one entry that is
not a `follow_ups` row: the pinned Tentative Booking, which v12 draws
and which the hold columns are the only possible source for.
## Escaping
Every value on this page is user-supplied text and every one goes out
through `{{ }}`. There is no `{!! !!}` in this file, and nothing here
reaches a script.
Since CR-10 the page does push one script — nrems-pending-tasks.js, through
partials/complete-task-modal.blade.php, for the ✓ on a pending activity task
in the timeline. Everything that script can put on screen still arrives as
data: a JSON `data-task` attribute per button, json_encode()'d inside
`{{ }}` — the house payload-attribute chain, and the one CR-20 put back
after Js::from() had rendered it unparseable — and one lang string on the
module root.
--}}
@extends('layouts.app')
@section('title', __('inquiries.show_title'))
@section('breadcrumbs')
{{ __('inquiries.history.empty') }}
@else