Quote Approval
Overview
A review card for one quote with two buttons: Approved and Rejected. Clicking one updates the quote's status and shows a confirmation.
Approve or reject a quote.
When to use
- A manager approves quotes above a certain amount before they are sent.
- Record a customer's decision taken over the phone.
- Close out old quotes as rejected.
When not to use
- The customer should approve it themselves — use Quote Approval from the Customer portal category (portalquoteapproval), which limits access to their own quotes.
Quick start
- Create a dynamic page with the route
/quotes/:id/approve(any route with:id). - Drag Quote Approval onto it.
- Open it from the quote list with the record id and press Approved or Rejected in preview.
Recommended data
Reads and updates the Quotes entity (created or reused): the buttons write the Status field, whose pipeline is Draft → Sent → Approved / Rejected.
- Quotes — fields: Number, Customer Email, Description, Amount, Status, Valid Until; status pipeline on Status.
Layout rules
- Can contain any component.
- Can be placed in any container (page, section, card, row, column, grid…).
Properties
Card heading (the subtitle Review the details and respond is generated).
Default: Quote Approval
Entity whose record is reviewed. Defaults to Quotes.
Data binding
A Detail View showing Number, Description, Amount and Valid Until for the Quotes record matching the page parameter id, and two buttons running Update record on that record: Status = Approved or Status = Rejected, followed by a toast.
Events
This block is built from ordinary components. Select one of them (in Layers) to change what happens on these events:
- On click
- None on the block; each inner Button has an onClick with the update and toast actions you can extend (for example Send email or Run workflow).
Responsive behavior
Uses 12 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.
Permissions
Use the Permissions tab to show this component only to some roles. Hiding a component is a convenience, not security — the server always checks who may read or change data.
Common patterns
- Add Run workflow after the approval update to create a job automatically (see the approve-quote and create-job-after-approval workflow examples).
Limitations
- The buttons do not check the current status; an already approved quote can be rejected again.
Troubleshooting
Why: The signed-in role has no update permission on Quotes.
Fix: Grant update to the Staff role under Users → Roles & permissions.