mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Make total conditional if defined
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="col-sm-12">
|
||||
<h2>Invoices (£ {{ total|floatformat:2 }})</h2>
|
||||
<h2>Invoices {% if total %}(£ {{ total|floatformat:2 }}){% endif %}</h2>
|
||||
{% if is_paginated %}
|
||||
<div class="col-md-6 col-md-offset-6 col-sm-12 text-right">
|
||||
{% paginator %}
|
||||
|
||||
Reference in New Issue
Block a user