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 cb7be2e9d5..f5be994aad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -109,9 +109,9 @@ [% END %]
- [% estimated_delivery_date | $KohaDates %] + [% estimated_delivery_date | $KohaDates %] [% IF CAN_user_acquisition_order_manage %] - + Edit [% END %] @@ -409,10 +409,10 @@ e.preventDefault(); var ordernumber = $(this).data("ordernumber"); var modalTitle = $(this).attr("title") + " (order number " + ordernumber + ")"; - var date_text = $( "#delivery_date_" + ordernumber ).html(); + var date_text = $( "#delivery_date_" + ordernumber ).data("delivery_date"); $("#dateEditor .modal-title").text(modalTitle); $("#date_ordernumber").val(ordernumber); - $("#estimated_delivery_date").html( date_text ); + $("#estimated_delivery_date").val(date_text); $("#dateEditor").modal("show"); });