From f9088544f2eba02acd487c150b44b1e900b0e645 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 10 May 2023 08:32:26 +0000 Subject: [PATCH] Bug 26403: (QA follow-up) Add missing debit and credit types to includes This adds the missing debit and credit types to the includes, namely: DISCOUNT, PURCHASE, PAYOUT, and VOID. I sorted them as they appear in the GUI (alphabetically) so it's a little easier to spot missing ones. Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/includes/accounts.inc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc index 2cc3f4783d..50742d5b29 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc @@ -23,22 +23,25 @@ [%- CASE 'RENT_DAILY_RENEW' -%]Renewal of daily rental item [%- CASE 'RESERVE' -%]Hold fee [%- CASE 'RESERVE_EXPIRED' -%]Hold waiting too long - [%- CASE 'Payout' -%]Payout + [%- CASE 'PAYOUT' -%]Payment from library to patron + [%- CASE 'VOID' -%]Credit has been voided [%- CASE -%][% debit_type.description | html %] [%- END -%] [%- END -%] [%- BLOCK credit_type_description -%] [%- SWITCH credit_type.code -%] - [%- CASE 'PAYMENT' -%]Payment - [%- CASE 'WRITEOFF' -%]Writeoff - [%- CASE 'FORGIVEN' -%]Forgiven + [%- CASE 'CANCELLATION' -%]Cancelled charge [%- CASE 'CREDIT' -%]Credit + [%- CASE 'DISCOUNT' -%]Discount + [%- CASE 'FORGIVEN' -%]Forgiven [%- CASE 'LOST_FOUND' -%]Lost item fee refund [%- CASE 'OVERPAYMENT' -%]Overpayment refund - [%- CASE 'REFUND' -%]Refund - [%- CASE 'CANCELLATION' -%]Cancelled charge + [%- CASE 'PAYMENT' -%]Payment [%- CASE 'PROCESSING_FOUND' -%]Lost item processing fee refund + [%- CASE 'PURCHASE' -%]Purchase + [%- CASE 'REFUND' -%]Refund + [%- CASE 'WRITEOFF' -%]Writeoff [%- CASE -%][% credit_type.description | html %] [%- END -%] [%- END -%] -- 2.30.2