From cfcb671bf040e27a542912146195e8843376113e Mon Sep 17 00:00:00 2001 From: klmp200 Date: Tue, 14 Mar 2017 19:09:12 +0100 Subject: [PATCH] forgoten o of shame (not for me) --- accounting/templates/accounting/journal_details.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounting/templates/accounting/journal_details.jinja b/accounting/templates/accounting/journal_details.jinja index 6884884d..d2fb21cb 100644 --- a/accounting/templates/accounting/journal_details.jinja +++ b/accounting/templates/accounting/journal_details.jinja @@ -78,7 +78,7 @@ - {% endif %} - {% if o.journal.club_account.bank_account.name != "AE TI" and journal.club_account.bank_account.name != "TI" or user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %} + {% if o.journal.club_account.bank_account.name != "AE TI" and o.journal.club_account.bank_account.name != "TI" or user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %} {% if not o.journal.closed %} {% trans %}Edit{% endtrans %} {% endif %}