Show item and money log in bank tabs.

This commit is contained in:
Casper V. Kristensen 2020-01-21 17:23:25 +01:00
parent a729d76f02
commit d937804737
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -8,8 +8,8 @@
<div class="card-header d-flex"> <div class="card-header d-flex">
<div class="nav nav-tabs card-header-tabs mr-auto"> <div class="nav nav-tabs card-header-tabs mr-auto">
<a class="nav-item nav-link {% active 'bank' %}" href="{% url 'bank' %}">Items</a> <a class="nav-item nav-link {% active 'bank' %}" href="{% url 'bank' %}">Items</a>
<!-- <a class="nav-item nav-link {% active 'bank_item_log' %}" href="{% url 'bank_item_log' %}">Log</a>--> <a class="nav-item nav-link {% active 'bank_item_log' %}" href="{% url 'bank_item_log' %}">Log</a>
<!-- <a class="nav-item nav-link {% active 'bank_money_log' %}" href="{% url 'bank_money_log' %}">Money</a>--> <a class="nav-item nav-link {% active 'bank_money_log' %}" href="{% url 'bank_money_log' %}">Money</a>
{% if perms.bank.add_itemtransaction and perms.bank.add_moneytransaction %} {% if perms.bank.add_itemtransaction and perms.bank.add_moneytransaction %}
<a class="nav-item nav-link {% active 'bank_import' %}" href="{% url 'bank_import' %}">Import</a> <a class="nav-item nav-link {% active 'bank_import' %}" href="{% url 'bank_import' %}">Import</a>
{% endif %} {% endif %}