Cart Fragment: Display description of OrderFee.FEE_TYPE_OTHER if description is set (as done in invoices)

This commit is contained in:
Martin Gross
2025-11-20 13:56:21 +01:00
parent b0911c9e42
commit 2fc7c23960

View File

@@ -395,7 +395,11 @@
{% for fee in cart.fees %}
<div role="row" class="row cart-row">
<div role="cell" class="col-md-4 col-xs-6">
<strong>{{ fee.get_fee_type_display }}</strong>
{% if fee.fee_type == "other" and fee.description %}
<strong>{{ fee.description }}</strong>
{% else %}
<strong>{{ fee.get_fee_type_display }}</strong>
{% endif %}
</div>
{% if download %}
<div role="cell"></div>