feat(manager): products on the page rule, a wide product editor, alternate prices per sales point

- Products: the categories and the list as two containers side by side (the tree sticky), the
  toolbar on the shared controls (search, filters, list/grid, New all one height), archive /
  delete red in a container.
- Product editor: a wide dialog (Dialog size=wide: ~88% of a 16:9 screen, capped on ultrawides),
  the shared tab strip (no up/down scrollbar), one name and description with a language switch
  above them, unit (modern dropdown) and price on one row, 'Edit alternate prices' under Where
  it's sold (the product's own price per sales point: default / set / +- amount / +- %, rounding).
- Pricing: shared tabs in the address, a new 'Order channel prices' tab (rules per product,
  category or sales point, multi-select, the most precise wins).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 15:11:35 +02:00
co-authored by Claude Opus 5.5
parent 94c10944ed
commit 476c55abc0
17 changed files with 636 additions and 104 deletions
+71 -2
View File
@@ -2094,7 +2094,7 @@
"quickAddHint": "The waiters add one with a tap, without the choices screen.",
"soldAt": "Where it's sold",
"soldAtHint": "Where it isn't ticked, it isn't shown and orders with it are refused.",
"pricePerPoint": "A different price per sales point (e.g. cheaper to take away): Pricing → Modifiers, with the condition \"Order channel\".",
"pricePerPoint": "A different price per sales point (e.g. cheaper to take away): Edit alternate prices, or Pricing → Order channel prices for many products at once.",
"online": "QR menu and online",
"orderableNow": "Can be ordered now",
"orderableNowHint": "Off: the customer apps show it as sold out.",
@@ -2197,7 +2197,11 @@
"translationTip": "What guests see in this language: the QR menu, online ordering, the menu tablets and the screens. Tickets, the kitchen screens, the counter and the waiters' phones keep the name as typed above. Left empty, guests see the name as typed.",
"trName": "Name",
"trNameHint": "Empty: the name as typed.",
"trDescription": "Description"
"trDescription": "Description",
"altPrices": "Edit alternate prices",
"altPricesHint": "Save the product first.",
"langOf": "Language",
"mainLang": "{{language}} (main)"
}
},
"menuTabletSettings": {
@@ -2232,6 +2236,7 @@
"intro": "Rules that change prices by themselves (happy hour, a season, a sales point), switches that turn several on at once, deals the waiters offer, and how much discount each person may give. New prices apply to what is added to orders from then on.",
"tabs": {
"rules": "Price rules",
"channels": "Order channel prices",
"groups": "Price groups",
"deals": "Deals",
"discounts": "Discounts"
@@ -2478,6 +2483,70 @@
"max_items_per_order": "Items per order",
"max_items_per_orderHint": "Discounted items on one order."
}
},
"channels": {
"intro": "A product's price at a sales point: cheaper to take away, dearer delivered. A rule is for one or more sales points and for products, categories, or everything sold there. The most precise rule wins: a product's own price, then its category's, then the whole channel's; no rule, the default price. Price rules and deals then work on that price.",
"new": "New channel price",
"none": "No channel prices",
"noneHint": "Every sales point uses the products' default prices.",
"everything": "Everything sold there",
"edit": "Edit",
"remove": "Remove",
"active": "On",
"cancel": "Cancel",
"save": "Save",
"removed": "Channel price removed",
"saved": "Channel price saved",
"savedFor": "Prices of {{name}} saved",
"removeTitle": "Remove this channel price?",
"removeBody": "Those products go back to their category's or channel's price, or the default.",
"newTitle": "New channel price",
"editTitle": "Edit channel price",
"points": "Sales points",
"pickPoints": "Pick one or more",
"products": "Products",
"productsHint": "A set price is for one product.",
"categories": "Categories",
"categoriesHint": "Nothing picked here or in products: the whole sales point.",
"none_": "None",
"change": "Price",
"value": "Value",
"price": "Price there",
"point": "Sales point",
"rounding": "Rounding",
"valueHint": "Negative lowers the price (e.g. -10).",
"name": "Name (optional)",
"nameHint": "Shown in the list instead of the products.",
"order": "Which price counts: the product's own price for the sales point, else its category's, else the sales point's, else the default price.",
"notSold": "This product isn't sold anywhere yet (Where it's sold).",
"productTitle": "Prices of {{name}} per sales point",
"productIntro": "Default price {{price}}. Set this product's own price where it should differ.",
"level": {
"product": "Product",
"category": "Category",
"channel": "Sales point"
},
"action": {
"default": "Default",
"set": "Set price",
"add_amount": "± amount",
"add_percent": "± %"
},
"valueOf": {
"set": "Price (€)",
"add_amount": "Amount (€)",
"add_percent": "Percentage (%)"
},
"from": {
"product": "own price {{what}}",
"category": "from its category: {{what}}",
"channel": "from the sales point: {{what}}"
},
"wrong": {
"points": "Pick at least one sales point.",
"value": "Enter a value (a set price can't be below zero).",
"set_one": "A set price is for exactly one product and no categories."
}
}
},
"floor": {