Bug 6072: fixing permission inconsistencies MT5306
[wip/koha-chris_n.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 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
10 <script type="text/javascript">
11 //<![CDATA[
12  $(document).ready(function() {
13         $("#vendorst").tablesorter({
14             headers: { 
15                 3: { 
16                     sorter: false 
17                 }
18             } 
19         }); 
20  }); 
21  //]]>
22 </script>
23
24 </head>
25 <body>
26 <!-- TMPL_INCLUDE NAME="header.inc" -->
27 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
28
29 <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>
30
31 <div id="doc3" class="yui-t2">
32    
33     <div id="bd">
34     <div id="yui-main">
35     <div class="yui-b">
36     
37 <!-- TMPL_INCLUDE NAME="acquisitions-toolbar.inc" -->
38 <!-- TMPL_IF EXPR="count == 1" -->      
39 <h1> <!-- TMPL_VAR NAME="supplier_name" --> </h1>
40 <!-- TMPL_ELSE -->
41 <h1>You searched on <b>vendor <!-- TMPL_VAR name="supplier" -->,</b> <!-- TMPL_VAR name="count" --> results found</h1>
42 <!-- /TMPL_IF -->
43 <!-- TMPL_IF name="loop_suppliers" -->
44     <div id="acqui_order_supplierlist">
45         <table id="vendorst">
46         <thead>
47         <tr>
48             <th>Order</th>
49             <th>Order receive</th>
50             <th>Vendor</th>
51             <th>&nbsp;</th>
52         </tr>
53         </thead>
54         <tbody> 
55         <!-- TMPL_LOOP name="loop_suppliers" -->
56         <!-- TMPL_UNLESS name="__odd__" -->
57             <tr class="highlight">
58         <!-- TMPL_ELSE -->
59             <tr>
60         <!-- /TMPL_UNLESS -->
61                 <td><!-- TMPL_IF name="CAN_user_acquisition_order_manage" -->
62                     <!-- TMPL_IF name="active" -->
63                         <a href="basketheader.pl?booksellerid=<!-- TMPL_VAR name="supplierid" -->&amp;op=add_form">New basket</a>
64                     <!-- TMPL_ELSE -->
65                         Inactive
66                     <!-- /TMPL_IF -->
67                     <!-- /TMPL_IF -->
68                 </td>
69                 <td>    <a href="parcels.pl?supplierid=<!-- TMPL_VAR name="supplierid" -->">Receive shipment</a>
70                 </td>
71                 <!-- TMPL_IF NAME="name"-->
72                 <td><a href="supplier.pl?supplierid=<!-- TMPL_VAR name="supplierid" -->"><!-- TMPL_VAR name="name" --></a></td>
73                 <!-- TMPL_ELSE -->
74                 <td><a href="supplier.pl?supplierid=<!-- TMPL_VAR name="supplierid" -->">NO NAME</a></td>
75                 <!-- /TMPL_IF -->
76                 <td>    <table>
77                         <!-- TMPL_IF NAME="loop_basket"-->
78                             <tr>
79                                 <th>Basket (#)</th>
80                                 <th>Items</th>
81                                 <th>Created by</th>
82                                 <th>Date</th>
83                                 <th>&nbsp;</th>
84                             </tr>
85                             <!-- TMPL_LOOP NAME="loop_basket" -->
86                             <!--TMPL_IF Name="uncertainprices"-->
87                                 <tr class="problem">
88                             <!--TMPL_ELSE-->
89                             <!-- TMPL_UNLESS NAME="__odd__" -->
90                                 <tr class="highlight">
91                             <!-- TMPL_ELSE -->
92                                 <tr>
93                             <!-- /TMPL_UNLESS -->
94                             <!--/TMPL_IF-->
95                                     <td><!-- TMPL_VAR NAME="basketname" --> (#<!-- TMPL_VAR NAME="basketno" -->)</td>
96                                     <td><!--TMPL_VAR NAME="total"--></td>
97                                     <td>                                                <!-- TMPL_VAR name="firstname" -->
98                                             <!-- TMPL_VAR name="surname" -->
99                                     </td>
100                                     <td><!-- TMPL_VAR NAME="creationdate" --></td>
101                                     <td>                                                <!-- TMPL_IF name="closedate" -->
102                                             closed on <!-- TMPL_VAR NAME="closedate" -->
103                                             <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">View</a>
104                                         <!-- TMPL_ELSE -->
105                                             <!-- TMPL_IF name="active" -->
106                                                 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">modify</a>
107                                             <!-- TMPL_ELSE -->
108                                                 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">View</a>
109                                             <!-- /TMPL_IF -->
110                                         <!-- /TMPL_IF -->
111                                     </td>
112                                 </tr>
113                             <!-- /TMPL_LOOP -->
114                         <!-- TMPL_ELSE -->
115                             <tr><td>No pending baskets</td></tr>
116                         <!-- /TMPL_IF -->
117                         </table>
118                 </td>
119                 </tr>
120             <!-- /TMPL_LOOP -->
121             </tbody>
122             </table>
123         </div>
124     <!-- /TMPL_IF -->
125 </div>
126 </div>
127 <div class="yui-b">
128 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
129 </div>
130 </div>
131 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->