From dc140bdb2e4837dae5906f0e7e98a35c1ebe81b6 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Mon, 25 Sep 2023 08:47:36 +0200 Subject: [PATCH] Bug 34833: (follow-up): remove redundant spaces Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 3fbdd74845..88b4c62819 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -1002,7 +1002,7 @@ e.preventDefault(); var ordernumber = $(this).data("ordernumber"); var note_type = $(this).data("note_type"); - var order_number_text = _(" (order number %s)").format(ordernumber); + var order_number_text = _("(order number %s)").format(ordernumber); var modalTitle = $(this).attr("title") + " " + order_number_text; var note_text = $( "#" + note_type + "-note-" + ordernumber ).html(); $("#noteEditor .modal-title").text(modalTitle); @@ -1132,7 +1132,7 @@ $(".edit_delivery_date").on("click", function(e) { e.preventDefault(); var ordernumber = $(this).data("ordernumber"); - var order_number_text = _(" (order number %s)").format(ordernumber); + var order_number_text = _("(order number %s)").format(ordernumber); var modalTitle = $(this).attr("title") + " " + order_number_text; var delivery_date = $( "#delivery_date_" + ordernumber ).data("delivery_date"); const estimated_delivery_date = document.querySelector("#estimated_delivery_date")._flatpickr; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index 833454bc5b..b0b18d5821 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -410,7 +410,7 @@ $(".edit_delivery_date").on("click", function(e) { e.preventDefault(); var ordernumber = $(this).data("ordernumber"); - var order_number_text = _(" (order number %s)").format(ordernumber); + var order_number_text = _("(order number %s)").format(ordernumber); var modalTitle = $(this).attr("title") + " " + order_number_text; var delivery_date = $( "#delivery_date_" + ordernumber ).data("delivery_date"); const estimated_delivery_date = document.querySelector("#estimated_delivery_date")._flatpickr; -- 2.39.5