Bugzilla – Attachment 22266 Details for
Bug 11111
The basket group is not displayed on the parcel page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11111: The basket group is not display on the parcel page
Bug-11111-The-basket-group-is-not-display-on-the-p.patch (text/plain), 4.62 KB, created by
Jonathan Druart
on 2013-10-22 12:09:11 UTC
(
hide
)
Description:
Bug 11111: The basket group is not display on the parcel page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-10-22 12:09:11 UTC
Size:
4.62 KB
patch
obsolete
>From 12afb5e7e0f07eb3ce36722daceaa73af57e8f86 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 22 Oct 2013 14:05:48 +0200 >Subject: [PATCH] Bug 11111: The basket group is not display on the parcel > page > >Test plan: >Go on acqui/parcel.pl?invoiceid=XX page and verify the basket group name >is displayed into the 2nd column. >--- > C4/Acquisition.pm | 2 ++ > .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 24 ++++++++++++++++---- > 2 files changed, 22 insertions(+), 4 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index e470b24..a603470 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1459,6 +1459,8 @@ sub SearchOrders { > aqbasket.closedate, > aqbasket.creationdate, > aqbasket.basketname, >+ aqbasketgroups.id as basketgroupid, >+ aqbasketgroups.name as basketgroupname, > aqorders.* > FROM aqorders > LEFT JOIN aqbasket ON aqorders.basketno = aqbasket.basketno >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >index 250cc96..0f45e37 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >@@ -182,6 +182,7 @@ > <thead> > <tr> > <th>Basket</th> >+ <th>Basket group</th> > <th>Order line</th> > <th>Summary</th> > <th>View record</th> >@@ -197,6 +198,13 @@ > [% FOREACH loop_order IN loop_orders %] > <tr> > <td class="basketfilterclass">[% loop_order.basketname %] (<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% loop_order.basketno %]">[% loop_order.basketno %]</a>)</td> >+ <td> >+ [% IF loop_order.basketgroupid %] >+ [% loop_order.basketgroupname %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% loop_order.booksellerid %]">[% loop_order.basketgroupid %]</a>) >+ [% ELSE %] >+ No basketgroup >+ [% END %] >+ </td> > <td class="orderfilterclass"><a href="neworderempty.pl?ordernumber=[% loop_order.ordernumber %]&booksellerid=[% loop_order.booksellerid %]">[% loop_order.ordernumber %]</a></td> > <td class="summaryfilterclass"> > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loop_order.biblionumber %]">[% loop_order.title |html %]</a> >@@ -271,7 +279,8 @@ > <table id="receivedt"> > <thead> > <tr> >- <th>Basket</th> >+ <th>Basket</th> >+ <th>Basket group</th> > <th>Order line</th> > <th>Summary</th> > <th>View record</th> >@@ -284,19 +293,19 @@ > </thead> > <tfoot> > <tr> >- <th colspan="7" class="total">Total tax exc.</th> >+ <th colspan="8" class="total">Total tax exc.</th> > <th>[% total_gste %]</th> > <th></th> > </tr> > [% FOREACH book_foot IN book_foot_loop %] > <tr> >- <th colspan="7">Total (GST [% book_foot.gstrate * 100 | format ("%.1f") %]%)</th> >+ <th colspan="8">Total (GST [% book_foot.gstrate * 100 | format ("%.1f") %]%)</th> > <th>[% book_foot.value %]</th> > <th></th> > </tr> > [% END %] > <tr> >- <th colspan="7" class="total">Total tax inc.</th> >+ <th colspan="8" class="total">Total tax inc.</th> > <th>[% total_gsti %]</th> > <th></th> > </tr> >@@ -305,6 +314,13 @@ > [% FOREACH loop_receive IN loop_received %] > <tr> > <td>[% loop_receive.basketname %] (<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% loop_receive.basketno %]">[% loop_receive.basketno %]</a>)</td> >+ <td> >+ [% IF loop_order.basketgroupid %] >+ [% loop_receive.basketgroupname %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% loop_receive.booksellerid %]">[% loop_receive.basketgroupid %]</a>) >+ [% ELSE %] >+ No basketgroup >+ [% END %] >+ </td> > <td><a href="neworderempty.pl?ordernumber=[% loop_receive.ordernumber %]&booksellerid=[% booksellerid %]">[% loop_receive.ordernumber %]</a></td> > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loop_receive.biblionumber %]">[% loop_receive.title |html %]</a> > [% IF ( loop_receive.author ) %] / [% loop_receive.author %][% END %] >-- >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 11111
:
22266
|
22287
|
22435
|
22680
|
22681
|
22682
|
22683