feat: pricing on v2 (platform-v2 step 6.7)
- manager src/pages/pricing: price rules, price groups, deals, discounts on the tokens, English and Greek; the rules as data in pricingLogic.js (tests/pricing.test.mjs) - routers/pricing: set-up needs pricing.manage, broadcasts pricing.changed; incomplete conditions refused (pricing.bad_condition); venue discount settings saved again (the date-as-text bug) with empty = no limit (pricing.bad_limit), old "None" tolerated - nav: Offers & pricing needs pricing.manage - tests: test_pricing_setup.py (a happy-hour rule prices a counter quote), manager.mjs e2e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -325,5 +325,9 @@
|
||||
"waste": {
|
||||
"not_found": "Throwaway entry not found.",
|
||||
"not_today": "Only throwaways of the open business day can be deleted."
|
||||
},
|
||||
"pricing": {
|
||||
"bad_limit": "A discount limit must be a number of 0 or more, or empty for no limit.",
|
||||
"bad_condition": "A condition is incomplete: fill in all its values."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user