From 085fba023de4e087fc27244fbca20dae32e80a90 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 14 Oct 2019 11:30:48 +0100 Subject: [PATCH] Bug 23049: (follow-up) Correction to includes --- 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(-) diff --git a/Koha/Account/DebitType.pm b/Koha/Account/DebitType.pm index 123dce1926..6324ec57cb 100644 --- a/Koha/Account/DebitType.pm +++ b/Koha/Account/DebitType.pm @@ -68,7 +68,7 @@ sub _library_limits { =cut sub _type { - return 'AccountDebitTypesBranch'; + return 'AccountDebitType'; } 1; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc index b7f67b05da..528ab7882b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc +++ b/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 diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc index b3496ed141..b45a169fe6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ b/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 -- 2.20.1