Applied the title_case filter to the account titles in the template of the account list in the accounting application.
This commit is contained in:
parent
56f08786ad
commit
8c9d5c2a35
@ -59,7 +59,7 @@ First written: 2020/8/7
|
|||||||
<tr class="{% if account.is_parent_and_in_use %} table-danger {% endif %}">
|
<tr class="{% if account.is_parent_and_in_use %} table-danger {% endif %}">
|
||||||
<td>{{ account.code }}</td>
|
<td>{{ account.code }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ account.title }}
|
{{ account.title|title_case }}
|
||||||
{% if account.is_parent_and_in_use %}
|
{% if account.is_parent_and_in_use %}
|
||||||
<span class="badge badge-danger badge-pill">
|
<span class="badge badge-danger badge-pill">
|
||||||
{{ _("Parent Account In Use")|force_escape }}
|
{{ _("Parent Account In Use")|force_escape }}
|
||||||
|
Loading…
Reference in New Issue
Block a user