diff --git a/hosting/templates/hosting/invoice_detail.html b/hosting/templates/hosting/invoice_detail.html index e84b03ea..d757d476 100644 --- a/hosting/templates/hosting/invoice_detail.html +++ b/hosting/templates/hosting/invoice_detail.html @@ -93,10 +93,10 @@
Product | Period | Qty | Unit Price | Total |
---|---|---|---|---|
{% if line_item.description|length > 0 %}{{line_item.description}}{% elif line_item.stripe_plan.stripe_plan_name|length > 0 %}{{line_item.stripe_plan.stripe_plan_name}}{% else %}{{line_item.get_item_detail_str|safe}}{% endif %} | {{ line_item.period_start | date:'Y-m-d' }} — {{ line_item.period_end | date:'Y-m-d' }} | {{line_item.quantity}} | {{line_item.unit_amount_in_chf}} | {{line_item.amount_in_chf}} |
{% if line_item.description|length > 0 %}{{line_item.description}}{% elif line_item.stripe_plan.stripe_plan_name|length > 0 %}{{line_item.stripe_plan.stripe_plan_name}}{% else %}{{line_item.get_item_detail_str|safe}}{% endif %} | {{ line_item.period_start | date:'Y-m-d' }} — {{ line_item.period_end | date:'Y-m-d' }} | {{line_item.quantity}} | {{line_item.unit_amount_in_chf}} | {{line_item.amount_in_chf|floatformat:2}} |
Grand Total | {{total_in_chf}} | |||
Grand Total | {{total_in_chf|floatformat:2}} |