Sixième Étoile — Documentation

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:

FieldDescription
Trip typeTRANSFER, EXCURSION, DISPO, or OFF_GRID — drives pricing logic
Client / ContactThe billed party: direct client or agency
Pickup addressOrigin (required for Transfer; recommended for Dispo)
Drop-off addressDestination (Transfer and Excursion)
Date and timeScheduled departure
Vehicle categoryUsed for tariff grid lookup
Passenger countNumber of passengers
Pricing modeFIXED_GRID (contracted rate from ZoneRoute) or DYNAMIC (rule-based)
Internal notesFree-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:

FieldStored asNotes
DescriptionTextAppears on the client PDF
Unit priceQuoteLine.unitPrice (HT)Always stored pre-tax
QuantityInteger or decimalMultiplied by unit price for the line total
VAT rateQuoteLine.vatRate (decimal %)e.g., 10.00 = 10%
Line totalQuoteLine.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:

ActionEffect
Save draftSaves current state, status remains DRAFT
Send by emailOpens the send dialog (screen C-06), transitions status to SENT
DuplicateCreates a new DRAFT quote with the same parameters
Generate PDFDownloads the quote as a PDF without sending
DeclineMarks the quote as DECLINED

Real-time Recalculation

Every modification to trip parameters or line items recalculates the summary instantly:

  1. Changing the pickup or drop-off address → zone-route lookup fires, transport line unit price updates
  2. Changing the VAT rate on any line → VAT breakdown and TTC total update
  3. 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

ShortcutAction
Tab / Shift+TabMove between line item fields
Ctrl+Z / Cmd+ZUndo last line change
Ctrl+Shift+Z / Cmd+Shift+ZRedo
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.

Was this page helpful?

On this page