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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Fridolin Somers 2023-04-04 16:55:49 -10:00 committed by Tomas Cohen Arazi
parent 95aaf42696
commit 2ea8bf5383
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
[% USE raw %]
[% USE Asset %]
[% USE KohaDates %]
[% USE Price %]
[% USE TablesSettings %]
[% SET footerjs = 1 %]
@ -91,8 +92,8 @@
<td>[% ordersloo.quantity | html %]</td>
<td>[% ordersloo.total_rrp | $Price %]</td>
<td>[% ordersloo.total_ecost | $Price %]</td>
<td>[% ordersloo.entrydate | html %]</td>
<td>[% ordersloo.datereceived | html %]</td>
<td>[% ordersloo.entrydate | $KohaDates %]</td>
<td>[% ordersloo.datereceived | $KohaDates %]</td>
<td>[% ordersloo.order_internalnote | html %]</td>
<td>[% ordersloo.order_vendornote | html %]</td>
</tr>