Acquisition : Fixing
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / booksellers.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Search for vendor <!-- TMPL_VAR name="supplier" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <style type="text/css">
5 #vendors td{
6         vertical-align: top;
7 }
8 </style>
9 </head>
10 <body>
11 <!-- TMPL_INCLUDE NAME="header.inc" -->
12 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
13
14 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; Search for Vendor <em><!-- TMPL_VAR name="supplier" --></em> </div>
15
16 <div id="doc3" class="yui-t2">
17    
18     <div id="bd">
19     <div id="yui-main">
20     <div class="yui-b">
21     
22 <!-- TMPL_INCLUDE NAME="acquisitions-toolbar.inc" -->
23 <!-- TMPL_IF EXPR="count == 1" -->      
24 <h1> <!-- TMPL_VAR NAME="supplier_name" --> </h1>
25 <!-- TMPL_ELSE -->
26 <h1>You searched on <b>vendor <!-- TMPL_VAR name="supplier" -->,</b> <!-- TMPL_VAR name="count" --> results found</h1>
27 <!-- /TMPL_IF -->
28 <!-- TMPL_IF name="loop_suppliers" -->
29     <div id="acqui_order_supplierlist">
30         <table>
31         <tr>
32             <th>Order</th>
33             <th>Order receive</th>
34             <th>Vendor</th>
35             <th>&nbsp;</th>
36         </tr>
37         
38         <!-- TMPL_LOOP name="loop_suppliers" -->
39         <!-- TMPL_UNLESS name="__odd__" -->
40             <tr class="highlight">
41         <!-- TMPL_ELSE -->
42             <tr>
43         <!-- /TMPL_UNLESS -->
44                 <td>    <!-- TMPL_IF name="active" -->
45                         <a href="basketheader.pl?booksellerid=<!-- TMPL_VAR name="supplierid" -->&op=add_form">Add basket</a>
46                     <!-- TMPL_ELSE -->
47                         Inactive
48                     <!-- /TMPL_IF -->
49                 </td>
50                 <td>    <a href="parcels.pl?supplierid=<!-- TMPL_VAR name="supplierid" -->">Receive shipment</a>
51                 </td>
52                 <!-- TMPL_IF NAME="name"-->
53                 <td><a href="supplier.pl?supplierid=<!-- TMPL_VAR name="supplierid" -->"><!-- TMPL_VAR name="name" --></a></td>
54                 <!-- TMPL_ELSE -->
55                 <td><a href="supplier.pl?supplierid=<!-- TMPL_VAR name="supplierid" -->">NO NAME</a></td>
56                 <!-- /TMPL_IF -->
57                 <td>    <table>
58                         <!-- TMPL_IF NAME="loop_basket"-->
59                             <tr>
60                                 <th>Basket</th>
61                                 <th>Items</th>
62                                 <th>Created by</th>
63                                 <th>Date</th>
64                                 <th>&nbsp;</th>
65                             </tr>
66                             <!-- TMPL_LOOP NAME="loop_basket" -->
67                             <!--TMPL_IF Name="uncertainprices"-->
68                                 <tr class="problem">
69                             <!--TMPL_ELSE-->
70                             <!-- TMPL_UNLESS NAME="__odd__" -->
71                                 <tr class="highlight">
72                             <!-- TMPL_ELSE -->
73                                 <tr>
74                             <!-- /TMPL_UNLESS -->
75                             <!--/TMPL_IF-->
76                                     <td><!-- TMPL_VAR NAME="basketno" --></td>
77                                     <td><!-- TMPL_VAR NAME="basketname" --></td>
78                                     <td><!--TMPL_VAR NAME="total"--></td>
79                                     <td>                                                <!-- TMPL_VAR name="firstname" -->
80                                             <!-- TMPL_VAR name="surname" -->
81                                     </td>
82                                     <td><!-- TMPL_VAR NAME="creationdate" --></td>
83                                     <td>                                                <!-- TMPL_IF name="closedate" -->
84                                             closed on <!-- TMPL_VAR NAME="closedate" -->
85                                             <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">View</a>
86                                         <!-- TMPL_ELSE -->
87                                             <!-- TMPL_IF name="active" -->
88                                                 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">modify</a>
89                                             <!-- TMPL_ELSE -->
90                                                 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">View</a>
91                                             <!-- /TMPL_IF -->
92                                         <!-- /TMPL_IF -->
93                                     </td>
94                                 </tr>
95                             <!-- /TMPL_LOOP -->
96                         <!-- TMPL_ELSE -->
97                             <tr><td>No pending baskets</td></tr>
98                         <!-- /TMPL_IF -->
99                         </table>
100                 </td>
101                 </tr>
102             <!-- /TMPL_LOOP -->
103             </table>
104         </div>
105     <!-- /TMPL_IF -->
106 </div>
107 </div>
108 <div class="yui-b">
109 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
110 </div>
111 </div>
112 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->