Bugzilla – Attachment 45086 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.50 KB, created by
Marc Véron
on 2015-11-22 17:56:03 UTC
(
hide
)
Description:
Bug 15202: Fix date display when transferring an order
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-11-22 17:56:03 UTC
Size:
2.50 KB
patch
obsolete
>From 59d99a750f98f6606cce1f7e9c248ff7ebed0151 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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. > >Followed test plan, works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > 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.7.10.4
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