membershipworks: Show materials fee as $0.00 in invoice, even when unknown
This commit is contained in:
parent
e6a7e0c974
commit
05bdc92a36
@ -36,14 +36,14 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<b>Materials Fee <span class="font-monospace fw-light">[m]</span>:</b>
|
<b>Materials Fee <span class="font-monospace fw-light">[m]</span>:</b>
|
||||||
{% if event.materials_fee_included_in_price is None %}
|
{% if event.materials_fee_included_in_price or event.materials_fee == 0 %}
|
||||||
Unknown if included in price
|
|
||||||
{% elif event.materials_fee_included_in_price %}
|
|
||||||
{% if event.materials_fee is not None %}
|
{% if event.materials_fee is not None %}
|
||||||
${{ event.materials_fee|floatformat:2 }}
|
${{ event.materials_fee|floatformat:2 }}
|
||||||
{% else %}
|
{% else %}
|
||||||
Not defined
|
Not defined
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% elif event.materials_fee_included_in_price is None %}
|
||||||
|
Unknown if included in price
|
||||||
{% else %}
|
{% else %}
|
||||||
Not collected by CMS
|
Not collected by CMS
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user