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:
parent
a401f061c4
commit
18047f7549
1 changed files with 3 additions and 3 deletions
|
@ -59,14 +59,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% items_pending as pending %}
|
{% items_pending as pending %}
|
||||||
{% if pending %}
|
|
||||||
<div class="col-xs-12 col-sm-12 col-lg-12">
|
<div class="col-xs-12 col-sm-12 col-lg-12">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h4>Account</h4>
|
<h4>Account</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{% items_pending as pending %}
|
|
||||||
{% if pending %}
|
{% if pending %}
|
||||||
<div class="col-xs-12 col-sm-6 col-lg-6">
|
<div class="col-xs-12 col-sm-6 col-lg-6">
|
||||||
<div class="panel panel-warning">
|
<div class="panel panel-warning">
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue