mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Backend order view: Show canceled fees
This commit is contained in:
@@ -351,7 +351,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for fee in items.fees %}
|
{% for fee in items.fees %}
|
||||||
<div class="row-fluid product-row">
|
<div class="row-fluid product-row {% if fee.canceled %}pos-canceled{% endif %}">
|
||||||
<div class="col-md-4 col-xs-6">
|
<div class="col-md-4 col-xs-6">
|
||||||
<strong>{{ fee.get_fee_type_display }}</strong>
|
<strong>{{ fee.get_fee_type_display }}</strong>
|
||||||
{% if fee.description %}
|
{% if fee.description %}
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ class OrderDetail(OrderView):
|
|||||||
'positions': positions,
|
'positions': positions,
|
||||||
'raw': cartpos,
|
'raw': cartpos,
|
||||||
'total': self.object.total,
|
'total': self.object.total,
|
||||||
'fees': self.object.fees.all(),
|
'fees': self.object.all_fees.all(),
|
||||||
'net_total': self.object.net_total,
|
'net_total': self.object.net_total,
|
||||||
'tax_total': self.object.tax_total,
|
'tax_total': self.object.tax_total,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user