diff --git a/core/templates/core/delete_confirm.jinja b/core/templates/core/delete_confirm.jinja index 6ae8a1b2..70fcd764 100644 --- a/core/templates/core/delete_confirm.jinja +++ b/core/templates/core/delete_confirm.jinja @@ -21,6 +21,8 @@
{% trans name=object_name %}Are you sure you want to delete "{{ name }}"?{% endtrans %}
{{ help_text }}
Javascript is required for the counter UI.
+ {%- trans trimmed -%} + Formulas allow you to associate a group of products + with a result product (the formula itself). + {%- endtrans -%} +
+ {%- trans trimmed -%} + If the product of a formula is available on a counter, + it will be automatically applied if all the products that + make it up are added to the basket. + {%- endtrans -%} +
+ {%- trans trimmed -%} + For example, if there is a formula that combines a "Sandwich Formula" product + with the "Sandwich" and "Soft Drink" products, + then, if a person orders a sandwich and a soft drink, + the formula will be applied and the basket will then contain a sandwich formula instead. + {%- endtrans -%} +
+ + {% trans %}New formula{% endtrans %} + + +
+ {% for p in formula.products.all() %} + {{ p.code }} ({{ p.selling_price }} €) + {% if not loop.last %}+{% endif %} + {% endfor %} +
+ {{ formula.result.selling_price }} € + ({% trans %}instead of{% endtrans %} {{ formula.max_selling_price}} €) +