From 7b315a31b45c98770a8f14636252a83a67a8e545 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 --- .../intranet-tmpl/prog/en/modules/admin/debit_types.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 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 f813d22312..0bd97fed85 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 @@ -215,10 +215,12 @@ [% IF !debit_type.archived %] - Edit - Archive + Edit + [% IF !debit_type.is_system %] + Archive + [% END %] [% ELSIF debit_type.archived %] - Restore + Restore [% END %] -- 2.39.5