From 8f4d97d3b697f96abe15608a5bf409deccb1d930 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 --- .../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.40.1