Revised the templates of the transaction details to display the user by the model-specific way instead of the name column in the accounting application.

This commit is contained in:
依瑪貓 2020-08-31 15:05:11 +08:00
parent 777d3309e1
commit d8af81c7d4
3 changed files with 6 additions and 6 deletions

View File

@ -181,7 +181,7 @@ First written: 2020/7/23
<div class="row form-group">
<div class="col-sm-2">{{ _("Created by:")|force_escape }}</div>
<div class="col-sm-10">{{ txn.created_by.name }}</div>
<div class="col-sm-10">{{ txn.created_by }}</div>
</div>
<div class="row form-group">
@ -191,7 +191,7 @@ First written: 2020/7/23
<div class="row form-group">
<div class="col-sm-2">{{ _("Updated by:")|force_escape }}</div>
<div class="col-sm-10">{{ txn.updated_by.name }}</div>
<div class="col-sm-10">{{ txn.updated_by }}</div>
</div>
{% endblock %}

View File

@ -181,7 +181,7 @@ First written: 2020/7/23
<div class="row form-group">
<div class="col-sm-2">{{ _("Created by:")|force_escape }}</div>
<div class="col-sm-10">{{ txn.created_by.name }}</div>
<div class="col-sm-10">{{ txn.created_by }}</div>
</div>
<div class="row form-group">
@ -191,7 +191,7 @@ First written: 2020/7/23
<div class="row form-group">
<div class="col-sm-2">{{ _("Updated by:")|force_escape }}</div>
<div class="col-sm-10">{{ txn.updated_by.name }}</div>
<div class="col-sm-10">{{ txn.updated_by }}</div>
</div>
{% endblock %}

View File

@ -226,7 +226,7 @@ First written: 2020/7/23
<div class="row form-group">
<div class="col-sm-2">{{ _("Created by:")|force_escape }}</div>
<div class="col-sm-10">{{ txn.created_by.name }}</div>
<div class="col-sm-10">{{ txn.created_by }}</div>
</div>
<div class="row form-group">
@ -236,7 +236,7 @@ First written: 2020/7/23
<div class="row form-group">
<div class="col-sm-2">{{ _("Updated by:")|force_escape }}</div>
<div class="col-sm-10">{{ txn.updated_by.name }}</div>
<div class="col-sm-10">{{ txn.updated_by }}</div>
</div>
{% endblock %}