Fixed the ledger URL parameter in the template of the trial balance in the accounting application.

This commit is contained in:
依瑪貓 2020-08-02 00:32:46 +08:00
parent edb1aece09
commit fda8a2c523

View File

@ -130,7 +130,7 @@ First written: 2020/7/19
<ul class="list-group d-lg-none trial-balance-list"> <ul class="list-group d-lg-none trial-balance-list">
{% for item in item_list %} {% for item in item_list %}
<li class="list-group-item"> <li class="list-group-item">
<a class="list-group-item-action d-flex justify-content-between align-items-center" href="{% url "accounting:ledger" item period.spec %}"> <a class="list-group-item-action d-flex justify-content-between align-items-center" href="{% url "accounting:ledger" item period %}">
{{ item.title }} {{ item.title }}
<div> <div>
{% if item.debit is not None %} {% if item.debit is not None %}