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