From ebf88badbcc1b65b0889e07b93a992555a4b248a 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 (cherry picked from commit dc140bdb2e4837dae5906f0e7e98a35c1ebe81b6) Signed-off-by: Fridolin Somers --- 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 454d37012d..63e5ef1a95 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -980,7 +980,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); @@ -1110,7 +1110,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 ea20b31b73..eb6d81f0f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -405,7 +405,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