Bugzilla – Attachment 19061 Details for
Bug 10090
the ordered and spent page display the itemtype code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10090: Add itemtype description instead of code
Bug-10090-Add-itemtype-description-instead-of-code.patch (text/plain), 3.22 KB, created by
Jonathan Druart
on 2013-06-17 10:25:15 UTC
(
hide
)
Description:
Bug 10090: Add itemtype description instead of code
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-06-17 10:25:15 UTC
Size:
3.22 KB
patch
obsolete
>From 48c9160b90a4d6878ec078f0adace1c051b30206 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 4 Apr 2013 12:09:37 +0200 >Subject: [PATCH] Bug 10090: Add itemtype description instead of code > >On ordered.pl and spent.pl, the itemtype codes are displayed, instead of >descriptions. > >Links for the ordernumber should be changed. In ordered.pl, we are >redirected to the receive page. In spent.pl, the links are deleted. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt | 5 +++-- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt | 5 +++-- > 2 files changed, 6 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt >index 23441f8..32616ac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt >@@ -1,4 +1,5 @@ > [% USE KohaDates %] >+[% USE ItemTypes %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Ordered</title> > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> >@@ -59,7 +60,7 @@ > </td> > <td class="cell"> > [% IF ( CAN_user_acquisition_order_manage ) %] >- <a href="/cgi-bin/koha/acqui/neworderempty.pl?ordernumber=[% order.ordernumber %]&booksellerid=[% order.booksellerid %]&basketno=[% order.basketno %]">[% order.ordernumber %]</a> >+ <a href="/cgi-bin/koha/acqui/orderreceive.pl?ordernumber=[% order.ordernumber %]&biblio=[% order.biblionumber %]&invoiceid=[% order.invoiceid %]">[% order.ordernumber %]</a> > [% ELSE %] > [% order.ordernumber %] > [% END %] >@@ -68,7 +69,7 @@ > <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a> > </td> > <td class="cell"> >- [% order.itype %] >+ [% ItemTypes.GetDescription( order.itype ) %] > </td> > <td class="cell"> > [% order.left %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt >index 95634d0..23b3748 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt >@@ -1,4 +1,5 @@ > [% USE KohaDates %] >+[% USE ItemTypes %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › Spent</title> > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> >@@ -62,7 +63,7 @@ > [% order.title %] > </td> > <td class="cell"> >- <a href="/cgi-bin/koha/acqui/orderreceive.pl?ordernumber=[% order.ordernumber %]&biblio=[% order.biblionumber %]&invoiceid=[% order.invoiceid %]">[% order.ordernumber %]</a> >+ [% order.ordernumber %] > </td> > <td class="cell"> > <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a> >@@ -71,7 +72,7 @@ > <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid %]">[% order.invoicenumber %]</a> > </td> > <td class="cell"> >- [% order.itype %] >+ [% ItemTypes.GetDescription( order.itype ) %] > </td> > <td class="cell"> > [% order.quantityreceived %] >-- >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 10090
:
17574
|
18599
|
19061
|
26013
|
26284
|
26304