The mozzarella goes before the dough does.
A recipe row can sit on the base dish, on one size, or on one topping. That is the only arrangement in which a twelve-inch and a second portion of cheese cost what they actually cost.
Dough is made and proved before service; mozzarella is the thing you run out of at nine. Because a recipe row can apply to a specific size, a twelve-inch draws more dough than a nine-inch without a second recipe; because a row can apply to a specific topping, the extra cheese has its own gram weight instead of being invisible. An ingredient on a recipe can itself be another menu item, up to three levels deep — dough inside base inside pizza — and a branch can hold its own version of a recipe, which beats the organisation-wide one at that branch and never applies anywhere else.
From those rows the platform works out how many more of a dish the branch can still make, names the ingredient that limits it, and nets off safety stock before it counts. Where the organisation has switched it on — it is off until somebody does — a dish whose required base ingredient reaches zero disables itself at that branch on a flag of its own, separate from the manager’s manual switch, so a hand-flipped toggle and an inventory fact never overwrite each other. When the block is finished, the pizzas carrying it stop selling at the counter, on the storefront and inside the chat at the same moment, because all three read one catalog.
Every ingredient row also carries a wastage percentage that lifts the effective quantity, and therefore the plate cost — the trim on a block of cheese is in the number rather than in somebody’s estimate. Waste and expiry are entered per item with a reason of up to three hundred characters and always reduce stock, whichever way the figure is signed.
Flour, cheese and tinned tomato come from a small number of suppliers and arrive short often enough to matter. Receiving is entered at the quantity that actually came through the back door, line by line, and a count later sets the counted figure beside the book figure. That is the unglamorous part that makes the plate cost above worth reading at all.
Inventory & Recipes and Procurement.