only show expiring accounts if any exist
This commit is contained in:
parent
ccf563afb5
commit
f97e04df55
@ -36,6 +36,8 @@
|
|||||||
<br>
|
<br>
|
||||||
<h2>You have {{ accounts|length }} active accounts</h2>
|
<h2>You have {{ accounts|length }} active accounts</h2>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
{% if current_month_accounts %}
|
||||||
<h3>Accounts Expiring This Month</h3>
|
<h3>Accounts Expiring This Month</h3>
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
@ -55,8 +57,10 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<footer class="bg-dark text-white text-center py-3 mt-5">
|
<footer class="bg-dark text-white text-center py-3 mt-5">
|
||||||
<p>© 2024 KTV Manager | All rights reserved</p>
|
<p>© 2024 KTV Manager | All rights reserved</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user