feat(billing): explain frozen-invoice immutability on detail page (PMS-580) #389
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/PMS-580-invoice-frozen-ui-note"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PMS-580 (found in PMS-560 Invoices smoke), UI half
The smoke test read a sent invoice's lack of edit / cancel / void actions as a bug. It is intended: once sent, an invoice is a finalized financial record. This spells that out in the UI so the missing actions read as deliberate.
Change (invoice detail page,
src/pages/billing.rs)No logic or status change. Action gating is unchanged and already matches the server (
update_invoicerejects changes onceis_frozen).Companion
The documentation half (full lifecycle + the AC3 decision that no separate pre-send "cancel" control is needed) is a mokosh-server PR adding
dev-docs/invoice-lifecycle.md.Test
Open a draft invoice: hover Void to see the tooltip; no frozen note. Open a sent / paid / void invoice: the inline note explains the immutability and there is no Edit / Send / Void.
🤖 Generated with Claude Code