From 05bdc92a36d95dfcb5c72d284e02f18432a877f6 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 1 May 2024 12:44:07 -0400 Subject: [PATCH] membershipworks: Show materials fee as $0.00 in invoice, even when unknown --- .../templates/membershipworks/event_invoice.dj.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/membershipworks/templates/membershipworks/event_invoice.dj.html b/membershipworks/templates/membershipworks/event_invoice.dj.html index 7b45406..eda8c23 100644 --- a/membershipworks/templates/membershipworks/event_invoice.dj.html +++ b/membershipworks/templates/membershipworks/event_invoice.dj.html @@ -36,14 +36,14 @@

Materials Fee [m]: - {% if event.materials_fee_included_in_price is None %} - Unknown if included in price - {% elif event.materials_fee_included_in_price %} + {% if event.materials_fee_included_in_price or event.materials_fee == 0 %} {% if event.materials_fee is not None %} ${{ event.materials_fee|floatformat:2 }} {% else %} Not defined {% endif %} + {% elif event.materials_fee_included_in_price is None %} + Unknown if included in price {% else %} Not collected by CMS {% endif %}