From 293f49ed8b925454b96884027c94fc11b5af0b7f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 19 May 2023 17:05:10 +0100 Subject: [PATCH] Bug 33787: Fix for regression caused by bug 32450 This patch fixes the regression cashed by bug 32450 where we accidentally introduced the option to archive system debit types. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 7b315a31b45c98770a8f14636252a83a67a8e545) Signed-off-by: Matt Blenkinsop --- .../intranet-tmpl/prog/en/modules/admin/debit_types.tt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt index e2a3f9ba24..8ef3f9c221 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt @@ -198,11 +198,13 @@ [% END %] - [% IF !debit_type.is_system && !debit_type.archived %] - Edit - Archive + [% IF !debit_type.archived %] + Edit + [% IF !debit_type.is_system %] + Archive + [% END %] [% ELSIF debit_type.archived %] - Restore + Restore [% END %] -- 2.39.5