mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Show strikethrough original_price when redeeming voucher
This commit is contained in:
@@ -93,6 +93,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 col-xs-6 price">
|
<div class="col-md-2 col-xs-6 price">
|
||||||
|
{% if var.original_price %}
|
||||||
|
<del>{{ var.original_price|money:event.currency }}</del>
|
||||||
|
<ins>
|
||||||
|
{% elif item.original_price %}
|
||||||
|
<del>{{ item.original_price|money:event.currency }}</del>
|
||||||
|
<ins>
|
||||||
|
{% endif %}
|
||||||
{% if item.free_price %}
|
{% if item.free_price %}
|
||||||
<div class="input-group input-group-price">
|
<div class="input-group input-group-price">
|
||||||
<span class="input-group-addon">{{ event.currency }}</span>
|
<span class="input-group-addon">{{ event.currency }}</span>
|
||||||
@@ -111,6 +118,9 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{{ var.display_price.gross|money:event.currency }}
|
{{ var.display_price.gross|money:event.currency }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if item.original_price or var.original_price %}
|
||||||
|
</ins>
|
||||||
|
{% endif %}
|
||||||
{% if item.includes_mixed_tax_rate %}
|
{% if item.includes_mixed_tax_rate %}
|
||||||
{% if event.settings.display_net_prices %}
|
{% if event.settings.display_net_prices %}
|
||||||
<small>{% trans "plus taxes" %}</small>
|
<small>{% trans "plus taxes" %}</small>
|
||||||
@@ -189,6 +199,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 col-xs-6 price">
|
<div class="col-md-2 col-xs-6 price">
|
||||||
|
{% if item.original_price %}
|
||||||
|
<del>{{ item.original_price|money:event.currency }}</del>
|
||||||
|
<ins>
|
||||||
|
{% endif %}
|
||||||
{% if item.free_price %}
|
{% if item.free_price %}
|
||||||
<div class="input-group input-group-price">
|
<div class="input-group input-group-price">
|
||||||
<span class="input-group-addon">{{ event.currency }}</span>
|
<span class="input-group-addon">{{ event.currency }}</span>
|
||||||
@@ -206,6 +220,9 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{{ item.display_price.gross|money:event.currency }}
|
{{ item.display_price.gross|money:event.currency }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if item.original_price %}
|
||||||
|
</ins>
|
||||||
|
{% endif %}
|
||||||
{% if item.includes_mixed_tax_rate %}
|
{% if item.includes_mixed_tax_rate %}
|
||||||
{% if event.settings.display_net_prices %}
|
{% if event.settings.display_net_prices %}
|
||||||
<small>{% trans "plus taxes" %}</small>
|
<small>{% trans "plus taxes" %}</small>
|
||||||
|
|||||||
Reference in New Issue
Block a user