From 90bb93189baf5da44f3663efd87e3bd79fbf340e Mon Sep 17 00:00:00 2001 From: Jacob O'Mara Date: Mon, 30 Jun 2025 12:19:10 +0100 Subject: [PATCH] Bug 4858: Add print notice charge account management interface updates - Update accounts.inc templates to display PRINT_NOTICE debit type * Staff interface: koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc * OPAC interface: koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc * Test templates: t/mock_templates for English and French-Canadian * All show 'Print notice charge' description for PRINT_NOTICE debits --- koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc | 2 ++ koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc | 2 ++ t/mock_templates/intranet-tmpl/prog/en/includes/accounts.inc | 2 ++ t/mock_templates/intranet-tmpl/prog/fr-CA/includes/accounts.inc | 2 ++ 4 files changed, 8 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc index 87a9f1f9d56..8dd683509fc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc @@ -24,6 +24,8 @@ New card [%~ CASE 'OVERDUE' ~%] Fine + [%~ CASE 'PRINT_NOTICE' ~%] + Print notice charge [%~ CASE 'PROCESSING' ~%] Lost item processing fee [%~ CASE 'RENT' ~%] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc index b3e397ba206..3b27fee53c8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc @@ -26,6 +26,8 @@ New card [%- CASE 'OVERDUE' -%] Fine + [%- CASE 'PRINT_NOTICE' -%] + Print notice charge [%- CASE 'PROCESSING' -%] Lost item processing fee [%- CASE 'RENT' -%] diff --git a/t/mock_templates/intranet-tmpl/prog/en/includes/accounts.inc b/t/mock_templates/intranet-tmpl/prog/en/includes/accounts.inc index 781a7f79699..80071f3139b 100644 --- a/t/mock_templates/intranet-tmpl/prog/en/includes/accounts.inc +++ b/t/mock_templates/intranet-tmpl/prog/en/includes/accounts.inc @@ -24,6 +24,8 @@ New card [%- CASE 'OVERDUE' -%] Fine + [%- CASE 'PRINT_NOTICE' -%] + Print notice charge [%- CASE 'PROCESSING' -%] Lost item processing fee [%- CASE 'RENT' -%] diff --git a/t/mock_templates/intranet-tmpl/prog/fr-CA/includes/accounts.inc b/t/mock_templates/intranet-tmpl/prog/fr-CA/includes/accounts.inc index 6c71cc99e4e..71a43fa17ea 100644 --- a/t/mock_templates/intranet-tmpl/prog/fr-CA/includes/accounts.inc +++ b/t/mock_templates/intranet-tmpl/prog/fr-CA/includes/accounts.inc @@ -24,6 +24,8 @@ Nouvelle carte [%- CASE 'OVERDUE' -%] Amende + [%- CASE 'PRINT_NOTICE' -%] + Frais d'avis imprimé [%- CASE 'PROCESSING' -%] Frais de traitement pour exemplaire perdu [%- CASE 'RENT' -%] -- 2.39.5