Bugzilla – Attachment 149156 Details for
Bug 33414
Dates displayed in ISO format in orders by fund
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33414: Fix dates display in orders by fund
Bug-33414-Fix-dates-display-in-orders-by-fund.patch (text/plain), 1.89 KB, created by
Jonathan Druart
on 2023-04-05 07:12:05 UTC
(
hide
)
Description:
Bug 33414: Fix dates display in orders by fund
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-04-05 07:12:05 UTC
Size:
1.89 KB
patch
obsolete
>From 3e3bebd345d4644ecc221d24a115629548583ff7 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >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 <jonathan.druart@bugs.koha-community.org> >--- > .../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 15b0bd953e9..8dda5535240 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 @@ > <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> >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33414
:
149154
|
149156
|
149157
|
149361
|
149362