ApprovalPolicyEditor
Separate-approver shown as fixed, not a toggle.
npx shadcn add @lopifi/approval-policy-editorExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
Thresholds by amount, role, and dimension. requireSeparateApprover is displayed as fixed, not as a toggle. Delegations require an expiry; permanent delegation is a control failure.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Close, controls & consolidation
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section ApprovalPolicyEditor renders in, the calculators behind its figures, and the ledger payloads that feed it.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Close, controls & consolidation changes
Your copy doesn’t update itself when we fix something here.
- One email when a Close, controls & consolidation component needs a migration
- Nothing when nothing changes
Or install it now