Fixed the label in the option detail and option form.

This commit is contained in:
依瑪貓 2023-03-22 19:21:24 +08:00
parent 89e43830b4
commit 37a4c26f86
2 changed files with 4 additions and 4 deletions

View File

@ -49,13 +49,13 @@ First written: 2023/3/22
</div> </div>
{% with expense_income = "expense", {% with expense_income = "expense",
label = A_("Expense"), label = A_("Recurring Expense"),
recurring_items = obj.recurring.expenses %} recurring_items = obj.recurring.expenses %}
{% include "accounting/option/include/detail-recurring-expense-income.html" %} {% include "accounting/option/include/detail-recurring-expense-income.html" %}
{% endwith %} {% endwith %}
{% with expense_income = "income", {% with expense_income = "income",
label = A_("Income"), label = A_("Recurring Income"),
recurring_items = obj.recurring.incomes %} recurring_items = obj.recurring.incomes %}
{% include "accounting/option/include/detail-recurring-expense-income.html" %} {% include "accounting/option/include/detail-recurring-expense-income.html" %}
{% endwith %} {% endwith %}

View File

@ -63,13 +63,13 @@ First written: 2023/3/22
</div> </div>
{% with expense_income = "expense", {% with expense_income = "expense",
label = A_("Expense"), label = A_("Recurring Expense"),
recurring_items = form.recurring.expenses %} recurring_items = form.recurring.expenses %}
{% include "accounting/option/include/form-recurring-expense-income.html" %} {% include "accounting/option/include/form-recurring-expense-income.html" %}
{% endwith %} {% endwith %}
{% with expense_income = "income", {% with expense_income = "income",
label = A_("Income"), label = A_("Recurring Income"),
recurring_items = form.recurring.incomes %} recurring_items = form.recurring.incomes %}
{% include "accounting/option/include/form-recurring-expense-income.html" %} {% include "accounting/option/include/form-recurring-expense-income.html" %}
{% endwith %} {% endwith %}