From 25db5691cf12bb1d94f648f034b0741463439612 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 Content-Type: text/plain; charset=utf-8 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 --- .../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.30.2