From 51bc58576eba62d9f760af6f33131fbf2604d700 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 --- .../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.0