From 9ee25761abb85521d7c95608fc13b6f559f90f9c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 11 Feb 2026 09:12:18 +0100 Subject: [PATCH] Bug 41563: (follow-up 2) Tidy parcel.tt --- .../prog/en/modules/acqui/parcel.tt | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index 44db2420383..e1aaff96097 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -627,20 +627,20 @@ "
"; } - if ( row.biblio != null ) { - if ( row.biblio.items_count - row.items.length > 0 || - row.biblio.uncancelled_orders_count > 1 || - row.biblio.subscriptions_count > 0 || - row.biblio.holds_count > 0 ) { // biblio can be deleted - result += '' - + _("Can't cancel order and delete catalog record") + '
'; - } - else { - result += '
'; + if (row.biblio != null) { + if (row.biblio.items_count - row.items.length > 0 || row.biblio.uncancelled_orders_count > 1 || row.biblio.subscriptions_count > 0 || row.biblio.holds_count > 0) { + // biblio can be deleted + result += '' + _("Can't cancel order and delete catalog record") + "
"; + } else { + result += + '

"; } if (row.biblio.items_count - row.items.length > 0) { -- 2.43.0