Fixed the subject URL in the ledger summary in the accounting application.

This commit is contained in:
依瑪貓 2020-07-17 00:15:32 +08:00
parent 3156bc97c0
commit 44a778f4f5

View File

@ -68,7 +68,7 @@ First written: 2020/7/17
</button> </button>
<div class="dropdown-menu subject-picker"> <div class="dropdown-menu subject-picker">
{% for subject in subjects %} {% for subject in subjects %}
<a class="dropdown-item {% if subject.code == current_subject.code %} active {% endif %}>" href="{% url "accounting:cash-summary" subject.code %}"> <a class="dropdown-item {% if subject.code == current_subject.code %} active {% endif %}>" href="{% url "accounting:ledger-summary" subject.code %}">
{{ subject.title|title }} {{ subject.title|title }}
</a> </a>
{% endfor %} {% endfor %}