Pin the version the customer sees

Choosing a version is a real, revertable decision — an explicit pin always wins, even when it deliberately points at an older document.

What it is

Document_version_selection stores the pinned version per (org, component). The portal resolver honours the pin absolutely, provided the pinned version is a customer-visible send. A selection pointing at anything else is treated as leftover state, not a choice.

Also called: make this version live · revert to an earlier quote · selected version

See it
Pin the version the customer sees
Prepared for
Ronan Petsch
1140 Ridge Line Rd · Fair Play
Shell package$35,948
Concrete & site$10,436
Doors & windows$6,958
Trim & finish$4,638
Total
$57,980
Signature
The versions list with one row badged 'Selected' and another badged as the version the customer approved, with make-live disabled. VersionsModal.tsx. Sample data — no customer information appears here.
How it works
  1. 1'Make selected' writes the pin; default behaviour with no pin is the freshest customer-visible version.
  2. 2The resolver: 'An EXPLICIT PIN always wins. If the rep chose a version in the Versions UI and that version is a customer-visible send, that is what the customer sees, full stop — including when it is deliberately an older one. Choosing is the whole point of the feature.'
  3. 3A stale pin is ignored: 'A selection row that points at a version which is not a customer-visible send is not a pin — it is leftover state, and treating it as a choice would freeze the portal on whatever happened to be latest at the time.'
  4. 4Once the customer has approved, the version they approved is badged and make-live/re-send actions are disabled.
Why we built it

The approval lock is stated in the modal's props: 'The customer has APPROVED this estimate (filled the portal form). When true the estimate is locked: the version they approved is badged, and make-live / re-send actions are disabled (changing what an approved customer sees is a re-negotiation, not a quiet edit).'

The problem
  • No way to deliberately show an earlier document
  • Stale selection rows silently freezing the customer's view
  • Quiet edits to what an approved customer sees
Sound familiar?
What you get
Deliberate control over the customer-facing version
Approved estimates lock against quiet changes
Leftover state can't masquerade as a decision

See it on your own jobs

Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.

or keep browsing features →