diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc
index bb345101f1..66851f8a0c 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
@@ -49,14 +49,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
@@ -85,7 +85,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 -%]