PANTRISORA

Worked example · simulated scenario

Undoing a Purchase Before Receipt

An accidental tick in the shop should be easy to undo before any food is put away. This example checks that shopping progress can be corrected without adding, then removing, a fictional spinach batch.

A generated spinach line was marked purchased accidentally while still shopping.

Undo the shopping tick

  1. Select Mark purchased on the line.
  2. Choose Mark as not purchased before confirming receipt.
  3. Review inventory and the shopping line.

No stock was created

The line returns to unpurchased and no inventory batch is created.

Purchase state and receipt state are separate. Until receipt is confirmed, toggling the purchase mark changes the list rather than the refrigerator contents.

After an item is actually received, adjust inventory to represent any later return.