Bug 17771: Add link to bibliographic record on spent/ordered lists in acquisitions
==TEST PLAN== 1) Open Acquisitions and click on the ordered link under the fund 2) There will be no link on the title 3) Go back and click on thespent link 4) There will be no link on the title 5) Apply patch 6) Go to Acquisitions and click on ordered 7) There will now be a link that takes the user to the book catelog page 8) Go back and click on sent 9) There will be a link that takes the user to the book catelog Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Works like a charm! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
e077b978e7
commit
ec41654340
4 changed files with 7 additions and 3 deletions
|
@ -52,7 +52,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
|
||||
my $query = <<EOQ;
|
||||
SELECT
|
||||
aqorders.basketno, aqorders.ordernumber,
|
||||
aqorders.biblionumber, aqorders.basketno, aqorders.ordernumber,
|
||||
quantity-quantityreceived AS tleft,
|
||||
ecost, budgetdate, entrydate,
|
||||
aqbasket.booksellerid,
|
||||
|
|
|
@ -54,7 +54,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
|
||||
my $query = <<EOQ;
|
||||
SELECT
|
||||
aqorders.basketno, aqorders.ordernumber,
|
||||
aqorders.biblionumber, aqorders.basketno, aqorders.ordernumber,
|
||||
quantity-quantityreceived AS tleft,
|
||||
ecost, budgetdate, entrydate,
|
||||
aqbasket.booksellerid,
|
||||
|
|
|
@ -51,7 +51,9 @@
|
|||
[% FOREACH order IN ordered %]
|
||||
<tr>
|
||||
<td class="cell">
|
||||
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
|
||||
[% order.title %]
|
||||
</a>
|
||||
</td>
|
||||
<td class="cell">
|
||||
[% IF ( CAN_user_acquisition_order_manage ) %]
|
||||
|
|
|
@ -54,7 +54,9 @@
|
|||
[% FOREACH order IN spent %]
|
||||
<tr>
|
||||
<td class="cell">
|
||||
[% order.title %]
|
||||
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
|
||||
[% order.title %]
|
||||
</a>
|
||||
</td>
|
||||
<td class="cell">
|
||||
[% order.ordernumber %]
|
||||
|
|
Loading…
Reference in a new issue