(MT #1855) Make an Ajax+JSON search receiving orders
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / lateorders.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Acquisitions &rsaquo; Late orders</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
8
9 <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="lateorders.pl">Late orders</a></div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16         
17 <h1><!-- TMPL_IF name="Supplier" --><!-- TMPL_VAR name="Supplier" --> : <!--/TMPL_IF -->Late orders</h1>
18 <div id="acqui_lateorders">
19
20 <!-- TMPL_IF NAME="lateorders" -->
21 <form action="lateorders.pl" name="claim" method="post">
22   <input type="hidden" name="op" value="send_alert" />
23         <!-- TMPL_IF NAME="letters" -->
24         <p><label for="letter_code">Claim using notice: </label><select name="letter_code" id="letter_code">
25           <!--TMPL_LOOP Name="letters"-->
26                 <option value="<!--TMPL_VAR Name="code"-->"><!--TMPL_VAR Name="name"--></option>
27           <!--/TMPL_LOOP -->
28           </select>
29         </p>
30         <!-- /TMPL_IF -->
31     <table>
32         <tr>
33             <th>Order Date</th>
34             <th>Vendor</th>
35             <th>Information</th>
36             <th>Total cost</th>
37             <th>Basket</th>
38             <th>&nbsp;</th>
39         </tr>
40     <!-- TMPL_LOOP name="lateorders" -->
41         <tr<!-- TMPL_UNLESS NAME="__odd__" --> class="highlight"<!-- /TMPL_UNLESS -->> 
42             <td>
43                 <!-- TMPL_VAR name="orderdate" -->
44                 (<!-- TMPL_VAR name="latesince" --> days)
45             </td>
46             <td>
47                 <!-- TMPL_VAR name="supplier" -->
48             </td>
49             <td>
50                 <b><!-- TMPL_VAR name="title" escape="html" --></b>
51                    <!-- TMPL_IF name="author" --><br/><i>Author:</i> <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
52                    <!-- TMPL_IF name="publisher" -->
53                         <br/><i>Published by:</i> <!-- TMPL_VAR NAME="publisher" -->
54                         <!-- TMPL_IF name="publicationyear" -->
55                             <i> in </i><!-- TMPL_VAR name="publicationyear" -->
56                         <!-- /TMPL_IF -->
57                    <!-- /TMPL_IF -->
58             </td>
59             <td>
60                    <!-- TMPL_VAR name="unitpricesupplier" -->x<!-- TMPL_VAR name="quantity" --> = 
61                    <!-- TMPL_VAR name="subtotal" -->
62                     <p title="budget"><!-- TMPL_VAR name="budget" --></p>
63             </td>
64             <td>
65                  <p><a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->" title="basket">
66                         <!-- TMPL_VAR name="basketno" -->
67                         </a>
68                  </p>
69                  <p title="branch"><!-- TMPL_VAR name="branch" --></p>
70             </td>
71             <td>
72                 <input type="checkbox" name="claim_for" value="<!--TMPL_VAR Name="ordernumber" -->" />
73             </td>
74         </tr>
75         <!-- /TMPL_LOOP -->
76         <tr> 
77             <th>Total</th>
78             <th colspan="2">&nbsp;</th>
79             <th><!-- TMPL_VAR name="total" --></th>
80             <th>&nbsp;</th>
81             <td>
82                 <input type="submit" value="Claim Order" />
83             </td>
84         </tr>
85     </table>
86      </form>
87 <!-- TMPL_ELSE --><p>There are no late orders.</p>
88 <!-- /TMPL_IF -->
89 </div>
90 </div>
91 </div>
92 <div class="yui-b">
93 <!-- TMPL_IF NAME="lateorders" -->
94 <form action="lateorders.pl" method="get">
95 <fieldset class="brief">
96 <h4>Filter Results:</h4>
97 <!-- TMPL_LOOP NAME="ERROR_LOOP" -->
98 <!-- TMPL_IF NAME="delay_digits" --><p class="error">The number of days (<!-- TMPL_VAR NAME="bad_delay" -->) must be a number between 0 and 999.</p><!-- /TMPL_IF -->
99 <!-- /TMPL_LOOP -->
100 <ol><li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="<!--TMPL_VAR Name="delay" -->" /> days ago</li>
101         <li><label for="supplierid">Vendor:</label>
102                 <select id="supplierid" size="1" tabindex="" name="supplierid">
103                         <option value=""/>
104                         <!-- TMPL_LOOP NAME="SUPPLIER_LOOP" -->
105                         <option value="<!-- TMPL_VAR NAME='id' -->"<!-- TMPL_IF NAME="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="name" --></option>
106                 <!-- /TMPL_LOOP -->
107                 </select>
108 </ol>
109         <fieldset class="action"><input type="submit" value="filter" /></fieldset>
110 </fieldset>
111     </form>
112 <!-- /TMPL_IF -->
113 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
114 </div>
115 </div>
116 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->