diff --git a/src/accounting/templates/accounting/report/income-expenses.html b/src/accounting/templates/accounting/report/income-expenses.html
index 2291778..8883195 100644
--- a/src/accounting/templates/accounting/report/income-expenses.html
+++ b/src/accounting/templates/accounting/report/income-expenses.html
@@ -27,7 +27,7 @@ First written: 2023/3/5
{% endblock %}
-{% block header %}{% block title %}{{ _("Income and Expenses of %(account)s in %(currency)s %(period)s", currency=report.currency, account=report.account|title, period=report.period.desc|title) }}{% endblock %}{% endblock %}
+{% block header %}{% block title %}{{ _("Income and Expenses of %(account)s in %(currency)s %(period)s", currency=report.currency.name|title, account=report.account|title, period=report.period.desc|title) }}{% endblock %}{% endblock %}
{% block content %}
@@ -69,7 +69,7 @@ First written: 2023/3/5
{% for currency in report.currency_options %}
- {{ currency.title|title }}
+ {{ currency.title }}
{% endfor %}
@@ -116,7 +116,7 @@ First written: 2023/3/5
{% for currency in report.currency_options %}
- {{ currency.title|title }}
+ {{ currency.title }}
{% endfor %}
diff --git a/src/accounting/templates/accounting/report/ledger.html b/src/accounting/templates/accounting/report/ledger.html
index 76948cf..1208431 100644
--- a/src/accounting/templates/accounting/report/ledger.html
+++ b/src/accounting/templates/accounting/report/ledger.html
@@ -27,7 +27,7 @@ First written: 2023/3/5
{% endblock %}
-{% block header %}{% block title %}{{ _("Ledger of %(account)s in %(currency)s %(period)s", currency=report.currency, account=report.account|title, period=report.period.desc|title) }}{% endblock %}{% endblock %}
+{% block header %}{% block title %}{{ _("Ledger of %(account)s in %(currency)s %(period)s", currency=report.currency.name|title, account=report.account|title, period=report.period.desc|title) }}{% endblock %}{% endblock %}
{% block content %}
@@ -69,7 +69,7 @@ First written: 2023/3/5
{% for currency in report.currency_options %}
- {{ currency.title|title }}
+ {{ currency.title }}
{% endfor %}
@@ -116,7 +116,7 @@ First written: 2023/3/5
{% for currency in report.currency_options %}
- {{ currency.title|title }}
+ {{ currency.title }}
{% endfor %}
diff --git a/src/accounting/templates/accounting/report/trial-balance.html b/src/accounting/templates/accounting/report/trial-balance.html
index 811773f..aae5e3a 100644
--- a/src/accounting/templates/accounting/report/trial-balance.html
+++ b/src/accounting/templates/accounting/report/trial-balance.html
@@ -26,7 +26,7 @@ First written: 2023/3/5
{% endblock %}
-{% block header %}{% block title %}{{ _("Trial Balance of %(currency)s %(period)s", currency=report.currency, period=report.period.desc|title) }}{% endblock %}{% endblock %}
+{% block header %}{% block title %}{{ _("Trial Balance of %(currency)s %(period)s", currency=report.currency.name|title, period=report.period.desc|title) }}{% endblock %}{% endblock %}
{% block content %}
@@ -68,7 +68,7 @@ First written: 2023/3/5
{% for currency in report.currency_options %}
- {{ currency.title|title }}
+ {{ currency.title }}
{% endfor %}
@@ -100,7 +100,7 @@ First written: 2023/3/5
{% for currency in report.currency_options %}
- {{ currency.title|title }}
+ {{ currency.title }}
{% endfor %}
@@ -119,7 +119,7 @@ First written: 2023/3/5
{% if list %}
-
{{ _("Trial Balance of %(currency)s %(period)s", currency=report.currency, period=report.period.desc|title) }}
+ {{ _("Trial Balance of %(currency)s %(period)s", currency=report.currency.name|title, period=report.period.desc|title) }}