Show paid/cancelled invoices

An errant ``{% if pending %}`` meant that we were only showing paid
and cancelled invoices - and the ability to buy new products - if
there was currently a pending invoice.

This change remove the errant check and allows for anyone with a paid
invoice to inspect it; or to add products.
This commit is contained in:
James Polley 2017-09-24 17:43:11 +10:00
parent a401f061c4
commit 18047f7549

View file

@ -59,14 +59,14 @@
</div>
</div>
{% items_pending as pending %}
{% if pending %}
<div class="col-xs-12 col-sm-12 col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Account</h4>
</div>
<div class="panel-body">
{% items_pending as pending %}
{% if pending %}
<div class="col-xs-12 col-sm-6 col-lg-6">
<div class="panel panel-warning">
@ -150,7 +150,7 @@
</div>
</div>
</div>
{% endif %}
{% endif %}
</div>
</div>