Track menu price history and add an inflation tracker #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "t3code/menu-price-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Menu price changes previously overwrote the current price without a dedicated history. Add migration-managed price history and an Analytics → Inflation view with a fixed original-menu basket, per-dish changes, expandable histories, and separately labelled prices observed in existing orders.
Update 10 prices from the supplied menu photos (9 increases and 1 decrease; 26 unchanged), dated 26 August 2026 in Vienna time with an explicit note that this is when the changes were noticed. Existing order-item prices remain unchanged. Fix the historical price-range chart to use saved item prices.
The menu basket changes from €323.30 to €328.50 (+1.61%). The basket chart follows recording dates; supplied price dates and sources appear in dish histories.
Validation:
Deployment: apply migrations 0003 and 0004 before deploying the app. They have not been applied to the live database. README documents future updates through set_dish_price(...).