relooking histsearch & adding some links to jump to basket, biblio...
authorPaul POULAIN <paul@koha-fr.org>
Mon, 12 Nov 2007 18:13:23 +0000 (12:13 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 12 Nov 2007 23:13:02 +0000 (17:13 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tmpl

index a35d481..8cdac74 100644 (file)
@@ -1071,7 +1071,8 @@ sub GetHistory {
                 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
index 35e2e63..0c449aa 100644 (file)
@@ -88,9 +88,9 @@
        <div id="acqui_histsearch">
                <table>
                        <tr>
-                               <th>&nbsp;</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"-->&amp;supplierid=<!-- TMPL_VAR NAME="id"-->&amp;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"-->&amp;supplierid=<!-- TMPL_VAR NAME="id"-->&amp;datereceived=<!-- TMPL_VAR NAME="datereceived" -->"><!-- TMPL_VAR NAME="invoicenumber"--></a>
                                            <!-- TMPL_ELSE -->
                                                &nbsp;
                                            <!-- /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>