Bugzilla – Attachment 45080 Details for
Bug 15202
Fix date display when transferring an order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15202: Fix date display when transferring an order
Bug-15202-Fix-date-display-when-transferring-an-or.patch (text/plain), 2.32 KB, created by
Katrin Fischer
on 2015-11-22 01:35:34 UTC
(
hide
)
Description:
Bug 15202: Fix date display when transferring an order
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-11-22 01:35:34 UTC
Size:
2.32 KB
patch
obsolete
>From 98023709edbf89aadd359023fa8012db592c314b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 22 Nov 2015 02:31:10 +0100 >Subject: [PATCH] Bug 15202: Fix date display when transferring an order > >The date a basket was created was not displayed >according to the dateformat system preference. > >Also fixes wording of the message shown when there >are no baskets for a chosen vendor. > >To test: >- Create an order with an order line >- Click on the "Transfer" link on the basket > summary page >- Search for a vendor without open baskets >- Verify change of message shown: > "There are no open baskets for this vendor." >- Choose another vendor with open baskets >- Verify the creation date of the basket is > displayed correctly formatted. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt >index 261d658..68e76e4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt >@@ -1,5 +1,6 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Transfer order</title> >+[%- USE KohaDates -%] > [% INCLUDE 'doc-head-close.inc' %] > <style type="text/css"> > #custom-doc { width:44.46em;*width:43.39em;min-width:578px; margin:auto; text-align:left; } >@@ -71,14 +72,14 @@ > <tr> > <td>[% basket.basketname %] (#[% basket.basketno %])</td> > <td>[% basket.createdby %]</td> >- <td>[% basket.creationdate %]</td> >+ <td>[% basket.creationdate | $KohaDates %]</td> > <td><a href="transferorder.pl?basketno=[% basket.basketno %]&ordernumber=[% ordernumber %]" onclick="return confirmtransfer();">Choose</a> > </tr> > [% END %] > </tbody> > </table> > [% ELSE %] >- <p>There is no open baskets for this supplier.</p> >+ <p>There are no open baskets for this vendor.</p> > [% END %] > [% END %] > [% IF ( ordersloop ) %] >-- >1.9.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 15202
:
45080
|
45086
|
45154