# A change order that shows its price before anyone approves it

The change order form takes the type of change, a name, a description, the delay in days and a bill of quantities, and prices the change while it is typed, next to the contract price after it. A saved proposal goes to the client's supervisor and then to the investor, and nobody decides on a change they prepared. On a public contract the form also shows how much of the limit for changes the proposal would use, and approval stops at the limit.

Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/screens/change-order-form/

*Proposal CO-005 of Vinery Court flats open for editing, as the managing director sees it, rendered from the kit's components with the demo's data on 2 December 2026.*

A live screen, rendered from the kit's components on the page: https://meadowstack.com/screens/change-order-form/

Open it in the live demo: https://meadowstack.com/demo/?lang=en#/stonebridge/rozpocet/zmenove-listy/zl-vinice-5/upravit

From the example app [An app for a construction company](https://meadowstack.com/examples/construction-site-management/).

## What the screen shows

- **About the change**: the site, fixed once the change exists, the type of change (Extra work, Omitted work or Material substitution), the name, the description ("What changes, why, and who asks for it.") and the delay in days ("By how many days the completion date moves.").
- **Bill of quantities**: one row per item with its code, description, unit, quantity and unit price. "Add item" adds a row and the bin removes one, except the last.
- **Effect** beside the fields: the price change excluding VAT in large figures, the contract price after the approved changes and the price once this change is approved, worked out again on every keystroke.
- **The footer**: Cancel and Save proposal at the foot of the screen. On a phone the Effect card moves under the fields, so the price of the change stays in the footer beside Save.

## The sign carries the meaning

The type decides what the sum must be. Extra work needs a positive price; omitted work takes its quantities with a minus, so its price comes out negative; a material substitution takes the old material out with a minus and puts the new one in.

The rules and their messages live in one zod schema, and every message says what to do: "Omitted work needs a negative price. Enter the quantities with a minus." Errors appear after the first try to save and then follow the fields as they change, and leaving with unsaved changes asks first ("Leave without saving?"). See the [form pattern](https://meadowstack.com/patterns/form/) and [Field](https://meadowstack.com/components/field/).

## Two approvals, then the contract price moves

Save proposal keeps the change as a proposal, and only a proposal can be edited: by the managing director, the site manager of that site or the estimator. When it is ready, it goes to the client's supervisor and then to the investor, whose answer the managing director records with a note on how it came.

Each step is a decision card at the top of the change's side column ([ApprovalPanel](https://meadowstack.com/components/approval-panel/) is the kit's plain version), and rejecting always asks for a written reason. Nobody decides on a change they prepared. Only an approved change moves the contract price; the list of change orders keeps the waiting ones in their own view, and on 2 December 6 of the 18 changes in the demo were waiting for approval ([approval flow](https://meadowstack.com/patterns/approval-flow/)).

## The limit on a public contract

On a public contract the Effect card adds a meter with the share of the limit for changes the proposal would use. The demo sets the limit at 15 % of the original price and counts the size of every change, so cuts use it up as well as extras (`domain/calc.ts`).

At the investor's step a change that would pass the limit cannot be approved: in place of the button, the card says how far the change would take the total and that such a change needs a new procurement procedure.

## What AI coding tools get wrong here

- **A total typed by hand.** A generated form asks for the amount of the change. Here the amount is the sum of the rows, shown beside them while they are typed, so it cannot disagree with the bill of quantities the supervisor checks line by line.
- **Approval as a status field.** A select with "Approved" in it lets anybody approve anything, their own change included. Here the decision is a card shown only to the person whose turn it is, asked through `usePermission`, and the api asks again before it saves ([permissions pattern](https://meadowstack.com/patterns/permissions/)).
- **Messages that blame.** "Invalid value" leaves people guessing. Every message in the schema names the fix, down to the minus sign.
- **The price after saving.** A form that shows the effect only on the record makes people save to find out. The Effect card answers before anything is saved.

## Who prepares a change and who approves it

*The change order rules of the demo's budget module. decidesFor is the site's supervisor, or the managing director when the supervisor has no account; own is a change the person prepared, so nobody approves their own.*

From `apps/demo/src/modules/budget/domain/permissions.ts` in the Meadowstack repository:

```ts
case "budget.change.create":
  return owner || manages || role === "estimator";
case "budget.change.edit":
case "budget.change.submit":
  return (owner || manages || role === "estimator") && (!record?.status || record.status === "draft");
case "budget.change.decide":
  return decidesFor && !own && (!record?.status || record.status === "supervisor");
case "budget.change.investor":
  return owner && !own && (!record?.status || record.status === "investor");
```

## Questions

### Does the foreman see the prices in change orders?

No. The foreman and the crew see nothing of the money module. The client's supervisor sees the change orders of his own sites only, without the budget or the invoices.

### Can a change order be edited after it has been sent?

No. Only a proposal can be edited. Once it is with the supervisor or the investor it waits for their decision, and the form says so if somebody opens it.

### How does the form handle omitted work?

Omitted work is entered with negative quantities, so its price comes out negative and lowers the contract price. If an omission ends up with a positive price, the form says how to fix it: enter the quantities with a minus.

### Who approves a change order?

The client's supervisor first, then the investor, whose answer the managing director records with a note. Nobody approves a change they prepared, and rejecting always needs a written reason.

### What if the client's supervisor does not use the app?

Then the managing director decides at that step in his place and writes down the supervisor's answer, with a note on how it came.

## Related

- [An app for a construction company](https://meadowstack.com/examples/construction-site-management/) (Example app)
- [A construction schedule that reads the weather](https://meadowstack.com/screens/construction-schedule/) (Screens)
- [A packaging quote that works out its price as you type](https://meadowstack.com/screens/quote-form/) (Screens)
- [A site diary day, prefilled and signed by the right person](https://meadowstack.com/screens/site-diary/) (Screens)
- [Defects pinned on the drawing, carried across revisions](https://meadowstack.com/screens/defects-on-drawings/) (Screens)
- [A proof the customer approves in their own portal](https://meadowstack.com/screens/proof-approval/) (Screens)
