From 974359ed85db6eac684d68d64f6c6af45a52a716 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 12 Oct 2022 04:11:33 +0000 Subject: [PATCH] Bug 23012: Show the PROCESSING_FOUND account credit type Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- Koha/Account.pm | 1 + api/v1/swagger/definitions/patron_account_credit.yaml | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc | 1 + koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Koha/Account.pm b/Koha/Account.pm index 4c13a9a07e..59a4d20179 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -173,6 +173,7 @@ $credit_type can be any of: - 'OVERPAYMENT' - 'PAYMENT' - 'WRITEOFF' + - 'PROCESSING_FOUND' =cut diff --git a/api/v1/swagger/definitions/patron_account_credit.yaml b/api/v1/swagger/definitions/patron_account_credit.yaml index cd607fdc90..20e1134165 100644 --- a/api/v1/swagger/definitions/patron_account_credit.yaml +++ b/api/v1/swagger/definitions/patron_account_credit.yaml @@ -3,7 +3,7 @@ type: object properties: credit_type: type: string - description: Type of credit ('CREDIT', 'FORGIVEN', 'LOST_FOUND', 'PAYMENT', 'WRITEOFF' ) + description: Type of credit ('CREDIT', 'FORGIVEN', 'LOST_FOUND', 'PAYMENT', 'WRITEOFF', 'PROCESSING_FOUND' ) amount: type: number minimum: 0 diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc index 6ba16c55d9..2cc3f4783d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc @@ -38,6 +38,7 @@ [%- CASE 'OVERPAYMENT' -%]Overpayment refund [%- CASE 'REFUND' -%]Refund [%- CASE 'CANCELLATION' -%]Cancelled charge + [%- CASE 'PROCESSING_FOUND' -%]Lost item processing fee refund [%- CASE -%][% credit_type.description | html %] [%- END -%] [%- END -%] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc index c0886be3de..ccfd877166 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc @@ -40,6 +40,7 @@ [%- CASE 'OVERPAYMENT' -%]Overpayment refund [%- CASE 'REFUND' -%]Refund [%- CASE 'CANCELLATION' -%]Cancelled charge + [%- CASE 'PROCESSING_FOUND' -%]Lost item processing fee refund [%- CASE -%][% credit_type.description | html %] [%- END -%] [%- END -%] -- 2.39.5