@@ -, +, @@ --- Koha/Account/DebitType.pm | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) --- a/Koha/Account/DebitType.pm +++ a/Koha/Account/DebitType.pm @@ -68,7 +68,7 @@ sub _library_limits { =cut sub _type { - return 'AccountDebitTypesBranch'; + return 'AccountDebitType'; } 1; --- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc @@ -11,8 +11,8 @@ [%- CASE 'LOST_RETURN' -%]Lost item fee refund [%- CASE -%][% account.accounttype | html %] [%- END -%] - [%- ELSIF account.debit_type -%] - [%- SWITCH account.debit_type -%] + [%- ELSIF account.debit_type_code -%] + [%- SWITCH account.debit_type_code -%] [%- CASE 'ACCOUNT' -%]Account creation fee [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee [%- CASE 'LOST' -%]Lost item --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -182,8 +182,8 @@ [%- CASE 'LOST_RETURN' -%]Lost item fee refund [%- CASE -%][% account.accounttype | html %] [%- END -%] - [%- ELSIF account.debit_type -%] - [%- SWITCH account.debit_type -%] + [%- ELSIF account.debit_type_code -%] + [%- SWITCH account.debit_type_code -%] [%- CASE 'ACCOUNT' -%]Account creation fee [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee [%- CASE 'LOST' -%]Lost item --