CRITICAL bug in acquisition (another one...) : when MARC=ON, and an order line is...
[koha.git] / koha-tmpl / intranet-tmpl / default / en / acqui / basket.tmpl
1 <!-- TMPL_INCLUDE name="acquisitions-top.inc" -->
2
3 <div id="mainbloc">
4         <h1 class="acquisition"><!-- TMPL_UNLESS name="basketno" -->New <!-- /TMPL_UNLESS -->shopping Basket <b><!-- TMPL_VAR NAME="basketno" --> </b>for <a href="supplier.pl?id=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="name" --></a></h1><br />
5         <!-- TMPL_UNLESS name="closedate" -->
6                 <div id="bloc25">
7                         <h2 class="acquisition">Basket info</h2>
8                         <p><label class="label100">Basket number<label> <!-- TMPL_VAR NAME="basketno" --></p>
9                         <p><label class="label100">Managed by<label><!-- TMPL_VAR NAME="authorisedbyname" --></p>
10                         <p><label class="label100">open on<label> <!-- TMPL_VAR NAME="creationdate" --></p>
11                         <p><label class="label100">for<label> <!-- TMPL_VAR NAME="booksellerid" --></p>
12                         <p><label class="label100">Invoice number </label><!-- TMPL_VAR NAME="booksellerinvoicenumber" --></p>
13                         <!-- TMPL_IF name="closedate" -->
14                                 Closed on <!-- TMPL_VAR name="closedate" -->
15                         <!-- TMPL_ELSE -->
16                                 <a href="/cgi-bin/koha/acqui/order.pl?op=close&amp;basket=<!-- TMPL_VAR NAME="basketno" -->&supplier=<!-- TMPL_VAR name="booksellerid" -->" class="button acquisition">Close</a>
17                         <!-- /TMPL_IF -->
18                 </div>
19         <!-- /TMPL_UNLESS -->
20         <div id="bloc100">
21         <h2 class="acquisition">Order</h2>
22         <!-- TMPL_IF name="books_loop" -->
23                 <table>
24                         <tr valign="top" bgcolor="#ffdf61">
25                                 <th class="acquisition">Order</th>
26                                 <th class="acquisition">Publisher<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode">[order]</a></th>
27                                 <th class="acquisition">Isbn</th>
28                                 <th class="acquisition">Title</th>
29                                 <th class="acquisition">Author</th>
30                                 <th class="acquisition">rrp</th>
31                                 <th class="acquisition">est</th>
32                                 <th class="acquisition">Qty</th>
33                                 <th class="acquisition">Total</th>
34                                 <th class="acquisition">Fund <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[order]</a></th>
35                         </tr>
36                         <!-- TMPL_LOOP NAME="books_loop" -->
37                                 <tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
38                                         <td><!-- TMPL_VAR NAME="ordernumber" --></td>
39                                         <td><!-- TMPL_VAR NAME="publishercode" --></td>
40                                         <td><!-- TMPL_VAR NAME="isbn" --></td>
41                                         <!-- TMPL_IF name="closedate" -->
42                                                 <td><!-- TMPL_VAR NAME="title" --></td>
43                                         <!-- TMPL_ELSE -->
44                                                 <td><a href="newbiblio.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="title" --></a></td>
45                                         <!-- /TMPL_IF -->
46                                         <td><!-- TMPL_VAR NAME="author" --></td>
47                                         <td><!-- TMPL_VAR NAME="rrp" --></td>
48                                         <td><!-- TMPL_VAR NAME="ecost" --></td>
49                                         <td><!-- TMPL_VAR NAME="quantity" --></td>
50                                         <td><!-- TMPL_VAR NAME="line_total" --></td>
51                                         <td><!-- TMPL_VAR NAME="bookfundid" --></td>
52                                 </tr>
53                         <!-- /TMPL_LOOP -->
54                         <input type="hidden" name="number" value=<!-- TMPL_VAR NAME="count" -->>
55                         <input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
56                         <tr>
57                                 <td colspan="7" rowspan=3>
58                                         &nbsp;
59                                 </td>
60                                 <th class="acquisition">SubTotal</th>
61                                 <th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="sub_total" --></th>
62                         </tr>
63                         <tr>
64                                 <th class="acquisition">GST</th>
65                                 <th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="gist" --></th>
66                         </tr>
67                         <tr>
68                                 <th class="acquisition">TOTAL</th>
69                                 <th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="grand_total" --></th>
70                         </tr>
71                 </table>
72         <!-- TMPL_ELSE -->
73                 <p>Basket empty</p>
74         <!-- /TMPL_IF -->
75         </div>
76         <!-- TMPL_UNLESS name="closedate" -->
77         <div id="bloc25">
78                 <h2 class="acquisition">Add order line</h2>
79                 <form action="/cgi-bin/koha/acqui/newbasket2.pl" method="post">
80                         <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
81                         <input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
82                         <p>from an existing biblio: </b><input type="text"  size="25"   name="search"><input type="submit" class="button acquisition" value="Search"></p>
83                         <p>or
84                                 <a href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">
85                                         from a suggestion
86                                 </a>
87                                 <a href="/cgi-bin/koha/acqui/newbiblio.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">
88                                         New biblio
89                                 </a>
90                         </p>
91                 </form>
92         </div>
93         <!-- /TMPL_UNLESS -->
94 </div>
95 <!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->