From 59a8164658d4d445e8e4da681ecfdb9b023fb6cd Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 4 Apr 2023 16:55:49 -1000 Subject: [PATCH] Bug 33414: Fix dates display in orders by fund Since Bug 30718, dates are displayed in ISO format in orders by fund. It removed dates formating in perl, this must be added in template. Test plan : 1) Create some fresh orders on a fund F1 2) Go to Acquisitions > Orders by fund 3) Select fund F1 and 'To screen into the browser' 4) Submit 5) Check you see a formatted date in 'Entry date' column 6) Recieve some order from fund F1 Repeat 2 to 4 7) Check you see formatted date in 'Date received' column Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 2ea8bf53834e9bfcf5962efe81ebf4e7515965cc) Signed-off-by: Matt Blenkinsop --- .../prog/en/modules/reports/orders_by_budget.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt index 15b0bd953e..8dda553524 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt @@ -1,5 +1,6 @@ [% USE raw %] [% USE Asset %] +[% USE KohaDates %] [% USE Price %] [% USE TablesSettings %] [% SET footerjs = 1 %] @@ -91,8 +92,8 @@ [% ordersloo.quantity | html %] [% ordersloo.total_rrp | $Price %] [% ordersloo.total_ecost | $Price %] - [% ordersloo.entrydate | html %] - [% ordersloo.datereceived | html %] + [% ordersloo.entrydate | $KohaDates %] + [% ordersloo.datereceived | $KohaDates %] [% ordersloo.order_internalnote | html %] [% ordersloo.order_vendornote | html %] -- 2.39.5