Bugzilla – Attachment 149154 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.82 KB, created by
Fridolin Somers
on 2023-04-05 03:01:10 UTC
(
hide
)
Description:
Bug 33414: Fix dates display in orders by fund
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2023-04-05 03:01:10 UTC
Size:
1.82 KB
patch
obsolete
>From 51bc58576eba62d9f760af6f33131fbf2604d700 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 >--- > .../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 @@ > <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.39.0
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