diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc index 503c3e9da9..4fd5c11a87 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc @@ -1,16 +1,16 @@ [%- BLOCK account_type_description -%] [%- IF account.credit_type_code -%] - [%- PROCESS credit_type_description credit_type_code = account.credit_type_code account=account -%] + [%- PROCESS credit_type_description account=account -%] [%- ELSIF account.debit_type_code -%] - [%- PROCESS debit_type_description debit_type_code = account.debit_type_code account=account -%] + [%- PROCESS debit_type_description account=account -%] [%- END -%] [%- PROCESS account_status_description account=account -%] [%- END -%] [%- BLOCK debit_type_description -%] - [%- SWITCH debit_type_code -%] + [%- SWITCH account.debit_type_code -%] [%- CASE 'ACCOUNT' -%]Account creation fee [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee [%- CASE 'ARTICLE_REQUEST' -%]Article request fee @@ -32,14 +32,14 @@ >[%- IF account && account.debit_type && account.debit_type.description -%] [% account.debit_type.description | html %] [%- ELSE -%] - [% debit_type_code | html %] + [% account.debit_type_code | html %] [%- END -%] [%- END -%] [%- END -%] [%- BLOCK credit_type_description -%] - [%- SWITCH credit_type_code -%] + [%- SWITCH account.credit_type_code -%] [%- CASE 'CANCELLATION' -%]Cancelled charge [%- CASE 'CREDIT' -%]Credit [%- CASE 'DISCOUNT' -%]Discount @@ -56,7 +56,7 @@ >[%- IF account && account.credit_type && account.credit_type.description -%] [% account.credit_type.description | html %] [%- ELSE -%] - [% credit_type_code | html %] + [% account.credit_type_code | html %] [%- END -%] [%- END -%]