diff --git a/accounting/templates/accounting/balance-sheet.html b/accounting/templates/accounting/balance-sheet.html index 43e15ca..b818db6 100644 --- a/accounting/templates/accounting/balance-sheet.html +++ b/accounting/templates/accounting/balance-sheet.html @@ -93,7 +93,7 @@ First written: 2020/7/20
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ assets.amount|accounting_amount }} | @@ -198,7 +198,7 @@ First written: 2020/7/20
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ liabilities.amount|add:owners_equity.amount|accounting_amount }} | @@ -239,7 +239,7 @@ First written: 2020/7/20 {% endfor %} {% endfor %}
{{ _("Month") }} | -{{ _("Income") }} | -{{ _("Expense") }} | -{{ _("Balance") }} | -{{ _("Cumulative Balance") }} | -{{ _("View") }} | +{{ _("Month")|force_escape }} | +{{ _("Income")|force_escape }} | +{{ _("Expense")|force_escape }} | +{{ _("Balance")|force_escape }} | +{{ _("Cumulative Balance")|force_escape }} | +{{ _("View")|force_escape }} |
---|
{{ _("Date") }} | -{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("Income") }} | -{{ _("Expense") }} | -{{ _("Balance") }} | -{{ _("View") }} | +{{ _("Date")|force_escape }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("Income")|force_escape }} | +{{ _("Expense")|force_escape }} | +{{ _("Balance")|force_escape }} | +{{ _("View")|force_escape }} | {{ item.account.title|title_case }} | {{ item.summary|default:"" }}{% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %}{% if item.has_order_hole %} - {{ _("Need Reorder") }} + {{ _("Need Reorder")|force_escape }} {% endif %} | {{ item.credit_amount|accounting_amount }} | @@ -122,7 +122,7 @@ First written: 2020/7/1 {% if item.pk is not None %} - {{ _("View") }} + {{ _("View")|force_escape }} {% endif %} @@ -145,12 +145,12 @@ First written: 2020/7/1 {{ item.summary|default:"" }} {% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %} {% if item.has_order_hole %} - {{ _("Need Reorder") }} + {{ _("Need Reorder")|force_escape }} {% endif %} diff --git a/accounting/templates/accounting/include/report-chooser.html b/accounting/templates/accounting/include/report-chooser.html index 91da96a..5bd398f 100644 --- a/accounting/templates/accounting/include/report-chooser.html +++ b/accounting/templates/accounting/include/report-chooser.html @@ -30,21 +30,21 @@ First written: 2020/7/9|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | {{ _("Amount") }} | +{{ _("Amount")|force_escape }} | - {{ _("View") }} + {{ _("View")|force_escape }} | {% endfor %}||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{ _("Total") }} |
+ {{ _("Total")|force_escape }} |
{{ group.amount|accounting_amount }} | @@ -119,7 +119,7 @@ First written: 2020/7/19 {% endfor %} {% else %} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{ _("Total") }} |
+ {{ _("Total")|force_escape }} |
- | @@ -174,7 +174,7 @@ First written: 2020/7/19 {% endfor %} |
{{ _("Date") }} | -{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("Debit") }} | -{{ _("Credit") }} | -{{ _("Notes") }} | -{{ _("View") }} | +{{ _("Date")|force_escape }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("Debit")|force_escape }} | +{{ _("Credit")|force_escape }} | +{{ _("Notes")|force_escape }} | +{{ _("View")|force_escape }} | {{ item.account.title|title_case }} | {{ item.summary|default:"" }}{% if not item.is_balanced %}
- {{ _("Unbalanced") }}
+ {{ _("Unbalanced")|force_escape }}
{% endif %}{% if item.has_order_hole %}
- {{ _("Need Reorder") }}
+ {{ _("Need Reorder")|force_escape }}
{% endif %} |
{{ item.debit_amount|accounting_amount }} | @@ -102,7 +102,7 @@ First written: 2020/7/17 {% if item.pk is not None %} - {{ _("View") }} + {{ _("View")|force_escape }} {% endif %} @@ -126,12 +126,12 @@ First written: 2020/7/17 {{ item.summary|default:"" }} {% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %} {% if item.has_order_hole %} - {{ _("Need Reorder") }} + {{ _("Need Reorder")|force_escape }} {% endif %} @@ -161,7 +161,7 @@ First written: 2020/7/17 {{ item.summary|default:"" }} {% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %} diff --git a/accounting/templates/accounting/ledger-summary.html b/accounting/templates/accounting/ledger-summary.html index 860e7fa..46eb272 100644 --- a/accounting/templates/accounting/ledger-summary.html +++ b/accounting/templates/accounting/ledger-summary.html @@ -58,7 +58,7 @@ First written: 2020/7/16
---|
{{ _("Month") }} | -{{ _("Debit") }} | -{{ _("Credit") }} | -{{ _("Balance") }} | -{{ _("Cumulative Balance") }} | -{{ _("View") }} | +{{ _("Month")|force_escape }} | +{{ _("Debit")|force_escape }} | +{{ _("Credit")|force_escape }} | +{{ _("Balance")|force_escape }} | +{{ _("Cumulative Balance")|force_escape }} | +{{ _("View")|force_escape }} |
---|
{{ _("Date") }} | -{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("Debit") }} | -{{ _("Credit") }} | -{{ _("Balance") }} | -{{ _("View") }} | +{{ _("Date")|force_escape }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("Debit")|force_escape }} | +{{ _("Credit")|force_escape }} | +{{ _("Balance")|force_escape }} | +{{ _("View")|force_escape }} | {{ item.account.title|title_case }} | {{ item.summary|default:"" }}{% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %}{% if item.has_order_hole %} - {{ _("Need Reorder") }} + {{ _("Need Reorder")|force_escape }} {% endif %}{% if not item.is_credit_card_paid %} - {{ _("Unpaid") }} + {{ _("Unpaid")|force_escape }} {% endif %}{% if item.is_existing_equipment %} - {{ _("Existing") }} + {{ _("Existing")|force_escape }} {% endif %} | {{ item.debit_amount|accounting_amount }} | @@ -123,7 +123,7 @@ First written: 2020/7/16 {% if item.pk is not None %} - {{ _("View") }} + {{ _("View")|force_escape }} {% endif %} @@ -146,22 +146,22 @@ First written: 2020/7/16 {{ item.summary|default:"" }} {% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %} {% if item.has_order_hole %} - {{ _("Need Reorder") }} + {{ _("Need Reorder")|force_escape }} {% endif %} {% if not item.is_credit_card_paid %} - {{ _("Unpaid") }} + {{ _("Unpaid")|force_escape }} {% endif %} {% if item.is_existing_equipment %} - {{ _("Existing") }} + {{ _("Existing")|force_escape }} {% endif %} diff --git a/accounting/templates/accounting/search.html b/accounting/templates/accounting/search.html index 0a7ac88..35064a5 100644 --- a/accounting/templates/accounting/search.html +++ b/accounting/templates/accounting/search.html @@ -61,7 +61,7 @@ First written: 2020/7/21 @@ -74,13 +74,13 @@ First written: 2020/7/21
---|
{{ _("Date") }} | -{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("Debit") }} | -{{ _("Credit") }} | -{{ _("Notes") }} | -{{ _("View") }} | +{{ _("Date")|force_escape }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("Debit")|force_escape }} | +{{ _("Credit")|force_escape }} | +{{ _("Notes")|force_escape }} | +{{ _("View")|force_escape }} | {{ item.account.title|title_case }} | {{ item.summary|default:"" }}{% if not item.is_balanced %}
- {{ _("Unbalanced") }}
+ {{ _("Unbalanced")|force_escape }}
{% endif %}{% if item.has_order_hole %}
- {{ _("Need Reorder") }}
+ {{ _("Need Reorder")|force_escape }}
{% endif %} |
{{ item.debit_amount|accounting_amount }} | @@ -103,7 +103,7 @@ First written: 2020/7/21- {{ _("View") }} + {{ _("View")|force_escape }} | @@ -125,12 +125,12 @@ First written: 2020/7/21 {{ item.summary|default:"" }} {% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %} {% if item.has_order_hole %} - {{ _("Need Reorder") }} + {{ _("Need Reorder")|force_escape }} {% endif %} diff --git a/accounting/templates/accounting/transactions/expense/form.html b/accounting/templates/accounting/transactions/expense/form.html index ce918e2..86bf473 100644 --- a/accounting/templates/accounting/transactions/expense/form.html +++ b/accounting/templates/accounting/transactions/expense/form.html @@ -52,7 +52,7 @@ First written: 2020/7/23 {% csrf_token %}
---|
{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("$") }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("$")|force_escape }} | |||
---|---|---|---|---|---|---|---|---|
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ item.debit_total|accounting_amount }} |
{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("$") }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("$")|force_escape }} | |||
---|---|---|---|---|---|---|---|---|
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ item.credit_total|accounting_amount }} | ||||||
- | {{ _("Type") }} | -{{ _("Content") }} | -{{ _("Amount") }} | -{{ _("Notes") }} | +{{ _("Type")|force_escape }} | +{{ _("Content")|force_escape }} | +{{ _("Amount")|force_escape }} | +{{ _("Notes")|force_escape }} | {% if item.is_cash_expense %} - {{ _("Cash Expense") }} + {{ _("Cash Expense")|force_escape }} {% elif item.is_cash_income %} - {{ _("Cash Income") }} + {{ _("Cash Income")|force_escape }} {% else %} - {{ _("Transfer") }} + {{ _("Transfer")|force_escape }} {% endif %} | @@ -117,7 +117,7 @@ First written: 2020/8/6 {% endif %} {% if not item.is_balanced %} - {{ _("Unbalanced") }} + {{ _("Unbalanced")|force_escape }} {% endif %} | @@ -134,7 +134,7 @@ First written: 2020/8/6
{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("$") }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("$")|force_escape }} | ||
---|---|---|---|---|---|---|---|
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ item.debit_total|accounting_amount }} |
{{ _("Account") }} | -{{ _("Summary") }} | -{{ _("$") }} | +{{ _("Account")|force_escape }} | +{{ _("Summary")|force_escape }} | +{{ _("$")|force_escape }} | ||
---|---|---|---|---|---|---|---|
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ item.credit_total|accounting_amount }} |
{{ _("Account") }} | -{{ _("Debit") }} | -{{ _("Credit") }} | -{{ _("View") }} | +{{ _("Account")|force_escape }} | +{{ _("Debit")|force_escape }} | +{{ _("Credit")|force_escape }} | +{{ _("View")|force_escape }} | - {{ _("View") }} + {{ _("View")|force_escape }} | @@ -102,7 +102,7 @@ First written: 2020/7/19
---|---|---|---|---|---|---|---|
{{ _("Total") }} | +{{ _("Total")|force_escape }} | {{ total_item.debit_amount|accounting_amount }} | {{ total_item.credit_amount|accounting_amount }} | @@ -142,7 +142,7 @@ First written: 2020/7/19 {% endfor %} |