==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>
my $query = <<EOQ;
SELECT
- aqorders.basketno, aqorders.ordernumber,
+ aqorders.biblionumber, aqorders.basketno, aqorders.ordernumber,
quantity-quantityreceived AS tleft,
ecost, budgetdate, entrydate,
aqbasket.booksellerid,
my $query = <<EOQ;
SELECT
- aqorders.basketno, aqorders.ordernumber,
+ aqorders.biblionumber, aqorders.basketno, aqorders.ordernumber,
quantity-quantityreceived AS tleft,
ecost, budgetdate, entrydate,
aqbasket.booksellerid,
[% 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 ) %]
[% 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 %]