# Recipe cards, losses and portions

> Tools for the head chef: gross, net and yield with prep and cooking losses in the recipe, plus portions, nutrition and cost per portion…

> Machine translation, editorial review pending.

Source: https://docs.smaklad.pl/en/guide/chef-tech-cards/

> This section describes the head chef's tools. The recipe holds the gross weight, net weight and yield with prep (cold-processing) and cooking (heat) losses, as well as portions, nutrition values and cost per portion. There are plating photos and a serving description, a printable tech card (`Catalog → Recipes → recipe card → "Tech card PL" / "Tech card RU"`), a stop-list (`Catalog → Stop-list`) and a prep list (`Operations → Prep list`).

## 14.1. Who can do what

| Action | admin | manager | kitchen | accountant | cashier |
|---|:-:|:-:|:-:|:-:|:-:|
| Losses, portions, photos and serving in the recipe | yes | yes | — | — | — |
| View and print the tech card | yes | yes | yes (without prices) | yes | — |
| Cost in the tech card (batch, unit, portion) | yes | yes | **no** | yes | — |
| View the stop-list | yes | yes | yes | yes | yes (at the till) |
| Put on / take off the stop-list | yes | yes | yes | — | — |
| Prep list | yes | yes | yes | — | — |

The kitchen sees the whole tech card except the money: the "Costs" block is empty for this role, because the server does not send prices.

## 14.2. Gross, net and yield: prep and cooking losses

Recipe card: `Catalog → Recipes → recipe` (address `/catalog/recipes/<id>`). The ingredient quantity in a recipe line is the **net** weight, i.e. the weight after cold processing: cleaning, butchering, washing. Two percentages are set for each line:

- **Prep loss, %**: what is lost during cold processing. Gross = net / (1 − loss). For example, 1 kg of peeled potatoes at 25 % loss means 1.333 kg gross taken from stock.
- **Cooking loss, %**: what is lost during boiling, frying, baking. Yield = net × (1 − loss). For example, 1 kg net of beef at 35 % loss gives 0.65 kg of cooked meat.

The ingredient table on the card shows the gross, net, yield and both percentages for each line. The total row shows the sums.

How the figures are used in the system:

| What is calculated | Based on which weight |
|---|---|
| Cost and issue of raw materials from stock (RW, internal issue) | **gross** |
| Nutrition (energy, protein, fat, carbohydrate) | **net** |
| Weight of the finished dish (for nutrition per 100 g) | **yield** after cooking losses |

**Older recipes.** Previously a line had a single "Yield, %" field (`yieldPercentage`). It still works: if the prep loss is not set, the system takes it as 100 − "Yield, %". If you set the prep loss, the "Yield, %" field is filled in automatically (100 − loss). There is no need to re-save older recipes; their cost does not change.

Losses can be set within 0–99 %.

## 14.3. Seasonal prep losses

Prep losses for vegetables depend on the season. New potatoes in July lose less when peeled than stored potatoes in March. Each line can have **seasonal coefficients**: a "from — to" month range and a prep loss percentage.

- A range may span the New Year, for example "November — February".
- The ranges of one line must not overlap. If they do, saving is rejected with a message about overlapping seasons.
- In months outside the ranges, the regular prep loss percentage applies.

**Which date applies.** For a production order it is the planned date of the order (Warsaw calendar). The quantity of raw materials to issue and the standard cost of the order are calculated using the losses for the month the order is planned for. The recipe card and the tech card show today's losses by default. The tech card can also be printed for another date (the `date` parameter, see 14.6). Lines where a seasonal coefficient applied are marked "season" in the table.

## 14.4. Portions: yield, nutrition and cost per portion

In the recipe form, "Portions" block:

- **Portion size**: the weight of one portion and its unit (g, kg, ml, pcs).
- **Portions per batch**: the number of portions from one recipe batch. If it is not set, the system calculates it as batch yield / portion size.

The recipe card and the tech card show:

- **Nutrition per 100 g and per portion.** Nutrition values are taken from the raw material specifications in the catalog and calculated on the net weight. They are divided by the weight of the finished dish after cooking losses or, if no losses are set, by the recipe yield. If a raw material in the catalog has no nutrition values, the tech card lists such items. The nutrition figures are then incomplete and the product card needs to be completed.
- **Cost per portion** (admin, manager, accountant only): batch cost / number of portions.

## 14.5. Photos and serving description, storage conditions

**Plating photos.** In the recipe form, click "Add photo" and choose a file. The file is uploaded to the media library (`Content → Media`); the recipe stores a link to it and a caption. You can add several photos; the first one is printed on the tech card.

Only photos from the system's media library are accepted. You cannot paste a link to an external website: the server rejects it with the message "Photo link is not from the media library". This way the tech card cannot pull in someone else's image or an internal network address.

**Serving description.** Text in four languages: how to plate, how to garnish, which dishware to serve in. It is printed on the tech card in the print language.

**Storage conditions.** Free text (for example, "0…+4 °C, in a closed gastronorm container"). It is printed together with the shelf life from the recipe.

**Auto-stop.** The "Automatic stop-list" checkbox puts the dish on the stop-list automatically when raw materials run short (see 14.7).

## 14.6. Printing the tech card

On the recipe card, in the "Tech card" block, click **"Tech card PL"** or **"Tech card RU"**. A print page opens at `/catalog/recipes/<id>/tech-card?lang=pl` (or `lang=ru`). The "Print" button opens the browser's print dialog; there you can choose "Save as PDF". Polish letters (ą, ć, ę, ł, ń, ó, ś, ź, ż) print correctly.

What the tech card contains:

- name, recipe version, approval status (who approved it and when);
- ingredient table: gross, net, prep and cooking losses, yield;
- preparation method (steps in the print language);
- batch yield, portion size and number of portions;
- allergens (the 14 EU allergens) and "may contain";
- nutrition per 100 g and per portion;
- batch, unit and portion cost (only for roles with access to prices);
- plating photo and serving description;
- storage conditions and shelf life.

If the recipe is not approved, the header is marked "Draft". Such a tech card must not be posted in the kitchen as the one in force.

## 14.7. Stop-list

The stop-list contains the dishes and products that cannot be sold right now. Section `Catalog → Stop-list` (address `/catalog/stop-list`).

**Manual stop.** Click "Put on stop-list", choose the product and enter a **reason** (required), for example "out of trout" or "deep fryer broken". To lift the stop, click "Release". Each item keeps its history (who, when, why).

**Automatic stop.** If "Auto-stop" is enabled in the dish's recipe, the system checks stock every 5 minutes. When there are not enough raw materials for even **one portion**, the dish goes on the stop-list with the reason "raw materials short". When the raw materials are back, it is released automatically. The automatic check does not lift a manual stop: only a person can release it. The check covers the same items that production issues: the recipe's raw materials and semi-finished products. A semi-finished product that is kept in stock (the sub-recipe is linked to a catalog product or has an output product) is checked against its own stock level. A sub-recipe without a product (prepared directly within the dish) is broken down to raw materials.

Where the stop-list is visible:

| Where | What it looks like |
|---|---|
| Till (POS) | the product is greyed out and cannot be added to the receipt |
| Website | a "Temporarily unavailable" badge; the "Add to cart" button is disabled |
| Kitchen display (KDS) | a "Stop-list" panel listing the items |
| Admin panel | the `Catalog → Stop-list` section with reasons and history |

The ban is also enforced on the server: even if the till or the website shows an outdated menu, an order with a stop-listed item will not be created. A line with such an item cannot be added to an open order either. The stop does not affect orders already accepted; they can be finished and paid.

## 14.8. Prep list

`Operations → Prep list` (address `/operations/prep-list`). This is the list of semi-finished products and prepared raw materials to be made for a given day.

Parameters:

- **Date**: the day the prep is needed for.
- **Warehouse (location)**: production orders of this warehouse and sales shipped from this warehouse are taken into account. With nothing selected, all warehouses.
- **Source**:
  - **Plan**: planned and in-progress production orders for that date;
  - **Sales**: average sales of the same weekday over the last 4 weeks (for example, for a Friday, the four previous Fridays). If a warehouse is selected, only sales whose goods were issued from that warehouse are counted: an order has no "location" field, so the location is the warehouse the goods were shipped from. Lines not yet shipped from a warehouse (for example, B2B) are not included in the per-location calculation, and the list warns how many such lines there were on each day;
  - **Both** (default): for each dish, the larger of the plan and the sales forecast is taken.

The system breaks each dish down through its recipe to semi-finished products and adds up identical items. The list shows:

- the semi-finished product;
- quantity and unit;
- the dishes it is needed for.

A separate "Cold prep" block lists the raw materials to be cleaned and cut, in net weight (taking into account the seasonal losses for that date). Warnings at the bottom tell you if sales could not be retrieved for a day or if a recipe has no data.

The "Print" button prints the list on paper so it can be posted in the kitchen.

## 14.9. Error messages

| Message | Cause | What to do |
|---|---|---|
| Item on the stop-list: … (`PRODUCT_STOP_LISTED`) | the order contains a dish that cannot be sold right now | remove the item from the receipt or cart, offer a substitute |
| The stop-list is unavailable right now, try again in a minute (`STOP_LIST_UNAVAILABLE`) | the system cannot check the stop-list: the catalog has not responded for more than 15 minutes | wait and retry; if it keeps happening, tell the administrator. The sale is deliberately blocked so that a stop-listed dish is not sold |
| Enter a reason for the stop | the reason is empty | fill in the reason |
| The product is not on the stop-list | it has already been released | refresh the page |
| Seasonal ranges overlap | two month ranges of the same line overlap | correct the months |
| Photo link is not from the media library | the photo was given as an external link | upload the photo with "Add photo" |
| No nutrition data for: … | the raw material in the catalog has no nutrition values | complete the product specification |
