Quote Cockpit Layout
The three-panel quote cockpit interface in Sixième Étoile — trip parameters panel, line items panel, and summary panel — navigation, real-time recalculation, and screen references.
Overview
The Quote Cockpit is the primary interface for building, editing, and finalizing client quotes. It is a single-page workspace divided into three panels that remain visible simultaneously on wide screens. Every change in any panel triggers an immediate recalculation of totals — no save or refresh is required to see updated amounts.
Important: Screens C-02 and C-03 represent the fully functional quote cockpit as built. They are documented here as-is and will not be recreated.
Getting to the Cockpit
From the Quotes section in the left sidebar, the list view (screen C-01) shows all quotes for the current organization. Quotes can be filtered by:
- Status (
DRAFT,SENT,ACCEPTED,DECLINED,EXPIRED) - Client name or agency
- Date range (creation date or trip date)
- Trip type
Click any row to open that quote in the cockpit (screen C-02). To create a new quote, use the New Quote button at the top right of the list view.
The Three Panels
Left Panel — Trip Parameters (Screen C-02)
The left panel collects all the context information for the trip:
| Field | Description |
|---|---|
| Trip type | TRANSFER, EXCURSION, DISPO, or OFF_GRID — drives pricing logic |
| Client / Contact | The billed party: direct client or agency |
| Pickup address | Origin (required for Transfer; recommended for Dispo) |
| Drop-off address | Destination (Transfer and Excursion) |
| Date and time | Scheduled departure |
| Vehicle category | Used for tariff grid lookup |
| Passenger count | Number of passengers |
| Pricing mode | FIXED_GRID (contracted rate from ZoneRoute) or DYNAMIC (rule-based) |
| Internal notes | Free-text notes not included in the client PDF |
Changing the trip type, vehicle category, or pricing mode immediately triggers a recalculation of all line amounts.
Center Panel — Line Items (Screen C-02 / C-03)
The center panel is the line editor where billable items are defined. Each line represents one charge on the quote:
- Transport line — the main trip charge, auto-populated when trip parameters are filled
- Fee lines — supplementary charges (airport taxes, waiting fees, tolls, etc.)
- Discount lines — negative amounts, available as a line type
For each line, the following fields are editable:
| Field | Stored as | Notes |
|---|---|---|
| Description | Text | Appears on the client PDF |
| Unit price | QuoteLine.unitPrice (HT) | Always stored pre-tax |
| Quantity | Integer or decimal | Multiplied by unit price for the line total |
| VAT rate | QuoteLine.vatRate (decimal %) | e.g., 10.00 = 10% |
| Line total | QuoteLine.totalPrice (HT) | Computed: unitPrice × quantity |
Lines support undo/redo (keyboard shortcut or history panel) powered by Zustand + Zundo with a 50-step history limit.
See Quote Line Editor for the full line editing reference.
Right Panel — Summary and Actions (Screen C-03)
The right panel provides a real-time financial summary and the primary action buttons:
Financial summary:
- Subtotal HT (sum of all line totals)
- VAT breakdown per rate (e.g., 10% → €X, 20% → €Y)
- Total TTC
The display can be toggled between HT-first and TTC-first depending on operator preference. The stored values are always HT regardless of display mode.
Action buttons:
| Action | Effect |
|---|---|
| Save draft | Saves current state, status remains DRAFT |
| Send by email | Opens the send dialog (screen C-06), transitions status to SENT |
| Duplicate | Creates a new DRAFT quote with the same parameters |
| Generate PDF | Downloads the quote as a PDF without sending |
| Decline | Marks the quote as DECLINED |
Real-time Recalculation
Every modification to trip parameters or line items recalculates the summary instantly:
- Changing the pickup or drop-off address → zone-route lookup fires, transport line unit price updates
- Changing the VAT rate on any line → VAT breakdown and TTC total update
- Adding or removing a line → subtotal, VAT, and TTC totals update
No confirmation step is needed between edits. The cockpit is auto-saving to a draft state in the background every few seconds.
Keyboard Navigation
| Shortcut | Action |
|---|---|
Tab / Shift+Tab | Move between line item fields |
Ctrl+Z / Cmd+Z | Undo last line change |
Ctrl+Shift+Z / Cmd+Shift+Z | Redo |
Enter (in last field of a line) | Add a new line below |
Delete (on selected line) | Remove line (with confirmation if only one line) |
Responsive Behavior
On viewports narrower than 1280 px, the three panels collapse into a tab layout (Parameters / Lines / Summary). All content remains accessible; the real-time summary badge is shown in the tab header so totals are always visible.
Quote Status Flow
The cockpit header shows the current quote status at all times:
DRAFT → SENT → ACCEPTED
↘ DECLINED
↓
EXPIRED (automatic after configured expiry period)Once a quote leaves DRAFT, the trip parameters and line items become read-only. Operators can still duplicate the quote to create a corrected copy.
Trip Types
The four VTC trip types in Sixième Étoile — Transfer, Excursion, Dispo (MAD), and Off-grid — and how each drives quote pricing and mission tracking.
Pre-tax and Tax-inclusive Pricing (HT / TTC)
How Sixième Étoile stores and displays pre-tax (HT) and tax-inclusive (TTC) amounts — VAT rate configuration, per-line calculation, and display mode switching.