From ceda6dce0a3212f0ba3a827b7f14b849433b4a1d Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 20 Apr 2023 14:58:12 +1000 Subject: [PATCH] Only show GST line if non-zero --- pinaxcon/templates/registrasion/_invoice_details.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pinaxcon/templates/registrasion/_invoice_details.html b/pinaxcon/templates/registrasion/_invoice_details.html index 6f3bb2a3..d19b3045 100644 --- a/pinaxcon/templates/registrasion/_invoice_details.html +++ b/pinaxcon/templates/registrasion/_invoice_details.html @@ -46,10 +46,12 @@ - - Includes 10% Australian Goods and Services Tax - ${{ invoice.value|gst}} - + {% if invoice.value|gst %} + + Includes 10% Australian Goods and Services Tax + ${{ invoice.value|gst}} + + {% endif %} Total