diff --git a/accounting/templates/accounting/cash-summary.html b/accounting/templates/accounting/cash-summary.html index b925f8b..65245c4 100644 --- a/accounting/templates/accounting/cash-summary.html +++ b/accounting/templates/accounting/cash-summary.html @@ -27,7 +27,7 @@ First written: 2020/7/15 {% load accounting %} {% block settings %} - {% blocktrans asvar title with account=current_account.title|title context "Accounting|" %}Cash Summary for {{ account }}{% endblocktrans %} + {% blocktrans asvar title with account=account.title|title context "Accounting|" %}Cash Summary for {{ account }}{% endblocktrans %} {% setvar "title" title %} {% static "accounting/css/report.css" as css %} {% setvar "css" css %} @@ -66,20 +66,20 @@ First written: 2020/7/15 {% endwith %}
@@ -111,7 +111,7 @@ First written: 2020/7/15 {{ item.cumulative_balance|accounting_amount }} {% if item.month is not None %} - + {% trans "View" context "Accounting|" as text %}{{ text|force_escape }} @@ -127,7 +127,7 @@ First written: 2020/7/15 {% for item in item_list %}
  • {% if item.month is not None %} - + {{ item.label }}
    diff --git a/accounting/templates/accounting/cash.html b/accounting/templates/accounting/cash.html index 7d501e6..de78563 100644 --- a/accounting/templates/accounting/cash.html +++ b/accounting/templates/accounting/cash.html @@ -27,7 +27,7 @@ First written: 2020/7/1 {% load accounting %} {% block settings %} - {% blocktrans asvar title with account=current_account.title|title period=period.description context "Accounting|" %}Cash Account for {{ account }} in {{ period }}{% endblocktrans %} + {% blocktrans asvar title with account=account.title|title period=period.description context "Accounting|" %}Cash Account for {{ account }} in {{ period }}{% endblocktrans %} {% setvar "title" title %} {% setvar "use_period_chooser" True %} {% static "accounting/css/report.css" as css %} @@ -67,20 +67,20 @@ First written: 2020/7/1 {% endwith %}
    diff --git a/accounting/templates/accounting/ledger-summary.html b/accounting/templates/accounting/ledger-summary.html index e2e1a5f..65e0c34 100644 --- a/accounting/templates/accounting/ledger-summary.html +++ b/accounting/templates/accounting/ledger-summary.html @@ -27,7 +27,7 @@ First written: 2020/7/16 {% load accounting %} {% block settings %} - {% blocktrans asvar title with account=current_account.title|title context "Accounting|" %}Ledger Summary for {{ account }}{% endblocktrans %} + {% blocktrans asvar title with account=account.title|title context "Accounting|" %}Ledger Summary for {{ account }}{% endblocktrans %} {% setvar "title" title %} {% static "accounting/css/report.css" as css %} {% setvar "css" css %} @@ -66,13 +66,13 @@ First written: 2020/7/16 {% endwith %}
    @@ -96,7 +96,7 @@ First written: 2020/7/16 {% for item in item_list %} - + {{ item.label }} {{ item.debit|accounting_amount }} {{ item.credit|accounting_amount }} @@ -104,7 +104,7 @@ First written: 2020/7/16 {{ item.cumulative_balance|accounting_amount }} {% if item.month is not None %} - + {% trans "View" context "Accounting|" as text %}{{ text|force_escape }} @@ -118,9 +118,9 @@ First written: 2020/7/16 {# The list for small screens #}