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:
parent
777d3309e1
commit
d8af81c7d4
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user