Corrections for XHTML compliance, again.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / basket.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; <!-- TMPL_UNLESS name="basketno" -->New <!-- /TMPL_UNLESS -->Shopping Basket (<!-- TMPL_VAR NAME="basketno" -->) for <!-- TMPL_VAR NAME="name" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
7
8     <h1><!-- TMPL_UNLESS name="basketno" -->New <!-- /TMPL_UNLESS -->Shopping Basket <!-- TMPL_VAR NAME="basketno" --> for <a href="supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="name" --></a></h1>
9     <div id="acqui_basket_summary">
10         <h2>Basket Details</h2>
11         <p><label>Basket number </label> <!-- TMPL_VAR NAME="basketno" -->&nbsp;</p>
12         <p><label>Managed by </label> <!-- TMPL_VAR NAME="authorisedbyname" -->&nbsp;</p>
13         <p><label>Open on </label> <!-- TMPL_VAR NAME="creationdate" -->&nbsp;</p>
14         <p><label>For </label> Supplier Id <!-- TMPL_VAR NAME="booksellerid" -->&nbsp;</p>
15         <p><label>Invoice number </label><!-- TMPL_VAR NAME="booksellerinvoicenumber" -->&nbsp;</p>
16         <!-- TMPL_IF name="closedate" --><p><label>Closed On: </label> <!-- TMPL_VAR name="closedate" --></p><!-- /TMPL_IF -->
17         </table>
18         <!-- TMPL_UNLESS name="closedate" -->
19         <p><a href="javascript:confirm_close()" class="button">Close this basket</a></p>
20         <script>
21             function confirm_close() {
22                 var is_confirmed = confirm(_('Are you sure you want to close this basket?'));
23                 if (is_confirmed) {
24                     window.location = "/cgi-bin/koha/acqui/booksellers.pl?op=close&basketno=<!-- TMPL_VAR NAME="basketno" -->&supplier=<!-- TMPL_VAR name="booksellerid" -->";
25                 }
26             }
27         </script>
28         <!-- /TMPL_UNLESS -->
29     </div>
30     
31     <div id="acqui_basket_content">
32     <h2>Order Details</h2>
33     <!-- TMPL_IF name="books_loop" -->
34         <table>
35             <tr>
36                 <th>Order</th>
37                 <th><a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->&amp;order=biblioitems.publishercode">Publisher</a></th>
38                 <th>Title</th>
39                 <th>RRP</th>
40                 <th>Est.</th>
41                 <th>Qty.</th>
42                 <th>Total</th>
43                 <th class="DoNotPrint">
44                     <a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->&amp;order=aqorderbreakdown.bookfundid,biblioitems.publishercode">
45                         Fund
46                     </a>
47                 </th>
48                 <!-- TMPL_IF name="active" -->
49                     <!-- TMPL_UNLESS name="closedate" -->
50                         <th>Modify</th>
51                         <th>Delete</th>
52                     <!-- /TMPL_UNLESS -->
53                 <!-- /TMPL_IF -->
54             </tr>
55             <!-- TMPL_LOOP NAME="books_loop" -->
56                 <!-- TMPL_IF NAME="highlight" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
57                     <td><!-- TMPL_VAR NAME="ordernumber" --></td>
58                     <td><!-- TMPL_VAR NAME="publishercode" --></td>
59                     <!-- TMPL_IF name="closedate" -->
60                         <td><p>
61                             <!-- TMPL_VAR NAME="title" --><br />
62                                 <!-- TMPL_VAR NAME="author" -->
63                                 <!-- TMPL_IF name="isbn"-->- <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
64                                 <!-- TMPL_IF name="notes" --></p><p><!--TMPL_VAR name="notes" --><!-- /TMPL_IF -->
65                             </p>
66                         </td>
67                     <!-- TMPL_ELSE -->
68                         <td>
69                             <p>
70                             <!-- TMPL_VAR NAME="title" --></p>
71                                 <p><!-- TMPL_VAR NAME="author" -->
72                                 <!-- TMPL_IF name="isbn"-->- <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
73                                 <!-- TMPL_IF name="notes" --></p><p><!--TMPL_VAR name="notes" --><!-- /TMPL_IF -->
74                             </p>
75                         </td>
76                     <!-- /TMPL_IF -->
77                     <td class="number"><!-- TMPL_VAR NAME="rrp" --></td>
78                     <td class="number"><!-- TMPL_VAR NAME="ecost" --></td>
79                     <td class="number"><!-- TMPL_VAR NAME="quantity" --></td>
80                     <td class="number"><!-- TMPL_VAR NAME="line_total" --></td>
81                     <td class="DoNotPrint"><!-- TMPL_VAR NAME="bookfundname" --></td>
82                     <!-- TMPL_IF name="active" -->
83                         <!-- TMPL_UNLESS name="closedate" -->
84                         <td>
85                             <a href="neworderempty.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&amp;booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->">Modify</a>
86                         </td>
87                         <td>
88                         <a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->&amp;quantity=0&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Delete</a>
89                         </td>
90                         <!-- /TMPL_UNLESS -->
91                     <!-- /TMPL_IF -->
92                 </tr>
93             <!-- /TMPL_LOOP -->
94             <tr>
95                 <td colspan="2" rowspan="3">
96                     <input type="hidden" name="number" value="<!-- TMPL_VAR NAME="count" -->" />
97                     <input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
98                 </td>
99                 <th>SubTotal</th>
100                 <th><!-- TMPL_VAR NAME="sub_total_est" --></th>
101                 <th><!-- TMPL_VAR NAME="sub_total" --></td>
102                 <th><!-- TMPL_VAR name="qty_total" --></th>
103                     <!-- TMPL_IF name="active" -->
104                         <!-- TMPL_IF name="closedate" -->
105                           <td colspan="2" rowspan="3">&nbsp;</td>
106                         <!-- TMPL_ELSE -->
107                           <td colspan="3" rowspan="3">&nbsp;</td>
108                         <!-- /TMPL_IF -->
109                     <!-- /TMPL_IF -->
110                 
111             </tr>
112             <tr>
113                 <th>GST</th>
114                 <th><!-- TMPL_VAR NAME="gist_est" --></th>
115                 <th><!-- TMPL_VAR NAME="gist" --></th>
116                 <th>&nbsp;</th>
117             </tr>
118             <tr>
119                 <th>TOTAL  (<!-- TMPL_VAR NAME="currency" -->)</th>
120                 <th><!-- TMPL_VAR NAME="grand_total_est" --></th>
121                 <th><!-- TMPL_VAR NAME="grand_total" --></th>
122                 <th>&nbsp;</th>
123             </tr>
124         </table>
125     <!-- TMPL_ELSE -->
126         <table>
127             <tr><td>Basket empty</p>
128         </table>
129     <!-- /TMPL_IF -->
130     
131     <!-- TMPL_UNLESS name="closedate" -->
132     </div>
133     <div id="acqui_basket_add">
134         <h2>Add To Order</h2>
135         <form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post">
136             <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
137             <input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
138             <ul><li><label for="q">From an existing record: </label><input id="q" type="text"  size="25"   name="q" />
139             <input type="submit" value="Search" /></li>
140             <li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->">From a Suggestion</a></li>
141             <li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->">New Record</a></li>
142             </ul>
143         </form>
144     </div>
145     <!-- /TMPL_UNLESS -->
146
147 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->