{% extends 'extends/layout.html' %} {% load static %} {% load custom_tags %} {% load humanize %} {% block content %} {% block scripts %} {% endblock %}
| S/N | Account Name | Account Number | Account Type | {% if request.user.staff.biodata.business.does_deposit == 1 %}Balance | {% endif %} {% if show_business_filters %}Branch | {% endif %} {# {% if request.user.staff.biodata.business.does_deposit == 1 or request.user.staff.biodata.business.does_withdraw == 1 %}#} {#Actions | #} {# {% endif %}#}
|---|---|---|---|---|---|---|
| {{ forloop.counter }}. | {{ account.acc_number|default_if_none:'' }} | {{ account.account_type|default_if_none:'' }} | {% if request.user.staff.biodata.business.does_deposit == 1 %}{{ account.balance|intcomma|default_if_none:'' }} | {% endif %} {% if show_business_filters %}{{ account.members__branch__name }} | {% endif %} {% if request.user.staff.biodata.business.does_deposit == 1 or request.user.staff.biodata.business.does_withdraw == 1 %} {##} {# {% if 'can_deposit' in user_perms and request.user.staff.biodata.business.does_deposit == 1 %}#} {# #} {# {% endif %}#} {# {% if 'can_withdraw' in user_perms and request.user.staff.biodata.business.does_withdraw == 1 %}#} {# #} {# {% endif %}#} {# {% if 'can_withdraw' in user_perms and request.user.staff.biodata.business.does_withdraw == 1 %}#} {# #} {# {% endif %}#} {##} {# | #} {% endif %}
Page {{ biz_accounts.number }} of {{ biz_accounts.paginator.num_pages }}