aqorders.ecost,
aqorders.ordernumber,
aqorders.booksellerinvoicenumber as invoicenumber,
- aqbooksellers.id as id
+ aqbooksellers.id as id,
+ aqorders.biblionumber
FROM aqorders
LEFT JOIN aqbasket ON aqorders.basketno=aqbasket.basketno
LEFT JOIN aqbooksellers ON aqbasket.booksellerid=aqbooksellers.id
<div id="acqui_histsearch">
<table>
<tr>
- <th> </th>
- <th>Title</th>
- <th>Author</th>
+ <th>Basket</th>
+ <th>Parcel</th>
+ <th>Summary</th>
<th>Supplier</th>
<th>Placed on</th>
<th>Received on</th>
<!-- TMPL_LOOP NAME="suggestions_loop" -->
<tr>
- <td> <!-- TMPL_IF NAME="invoicenumber" -->
- <a href="/cgi-bin/koha/acqui/parcel.pl?invoice=<!-- TMPL_VAR NAME="invoicenumber"-->&supplierid=<!-- TMPL_VAR NAME="id"-->&datereceived=<!-- TMPL_VAR NAME="datereceived" -->">Parcel</a>
+ <td><a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->"><!-- TMPL_VAR name="basketno" --></a></td>
+ <td><!-- TMPL_IF NAME="invoicenumber" -->
+ <a href="/cgi-bin/koha/acqui/parcel.pl?invoice=<!-- TMPL_VAR NAME="invoicenumber"-->&supplierid=<!-- TMPL_VAR NAME="id"-->&datereceived=<!-- TMPL_VAR NAME="datereceived" -->"><!-- TMPL_VAR NAME="invoicenumber"--></a>
<!-- TMPL_ELSE -->
<!-- /TMPL_IF -->
</td>
- <td><a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->"><!-- TMPL_VAR NAME="title" --></a></td>
- <td><!-- TMPL_VAR NAME="author" --></td>
- <td><!-- TMPL_VAR NAME="name" --></td>
+ <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
+ <br /><!-- TMPL_VAR NAME="author" --></td>
+ <td><a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR name="id" -->"><!-- TMPL_VAR NAME="name" --></a></td>
<td><!-- TMPL_VAR name="creationdate" --></td>
<td><!-- TMPL_VAR name="datereceived" --></td>
<td><!-- TMPL_VAR name="quantity" --></td>