5 [% WAREHOUSE_FILTER = 1 %]
6 [% PROCESS 'common/select_warehouse_bin.html' %]
8 <h1>[% title | html %]</h1>
10 [% INCLUDE 'common/flash.html' %]
12 <form name="Form" method="post" action="controller.pl" id="form">
16 <table class="tbl-horizontal col">
17 <caption>[% 'Periods' | $T8 %]</caption>
18 <colgroup> <col class="wi-smallest"><col class="wi-small"><col class="wi-small"><col class="wi-small"> </colgroup>
21 <th colspan="4"><h4><input name=reporttype type=radio value="custom" checked> [% 'Customized Report' | $T8 %]</h4></th>
25 <th>[% 'Year' | $T8 %]</th>
27 <input type="text" name=year title="[% 'YYYY' | $T8 %]" value="[% year %]" class="wi-smallest initial_focus" oninput='set_from_to(duetyp.value, this.value)'>
32 <th>[% 'Yearly' | $T8 %]</th>
33 <th>[% 'Quarterly' | $T8 %]</th>
34 <th>[% 'Monthly' | $T8 %]</th>
39 <input name=duetyp type=radio value="13" checked onchange='set_from_to(this.value, year.value)'>[% 'Yearly' | $T8 %]
42 <input name=duetyp type=radio value="A" onchange='set_from_to(this.value, year.value)'>1. [% 'Quarter' | $T8 %]<br>
43 <input name=duetyp type=radio value="B" onchange='set_from_to(this.value, year.value)'>2. [% 'Quarter' | $T8 %]<br>
44 <input name=duetyp type=radio value="C" onchange='set_from_to(this.value, year.value)'>3. [% 'Quarter' | $T8 %]<br>
45 <input name=duetyp type=radio value="D" onchange='set_from_to(this.value, year.value)'>4. [% 'Quarter' | $T8 %]<br>
48 <input name=duetyp type=radio value="1" onchange='set_from_to(this.value, year.value)'>[% 'January' | $T8 %]<br>
49 <input name=duetyp type=radio value="2" onchange='set_from_to(this.value, year.value)'>[% 'February' | $T8 %]<br>
50 <input name=duetyp type=radio value="3" onchange='set_from_to(this.value, year.value)'>[% 'March' | $T8 %]<br>
51 <input name=duetyp type=radio value="4" onchange='set_from_to(this.value, year.value)'>[% 'April' | $T8 %]<br>
52 <input name=duetyp type=radio value="5" onchange='set_from_to(this.value, year.value)'>[% 'May' | $T8 %]<br>
53 <input name=duetyp type=radio value="6" onchange='set_from_to(this.value, year.value)'>[% 'June' | $T8 %]<br>
54 <input name=duetyp type=radio value="7" onchange='set_from_to(this.value, year.value)'>[% 'July' | $T8 %]<br>
55 <input name=duetyp type=radio value="8" onchange='set_from_to(this.value, year.value)'>[% 'August' | $T8 %]<br>
56 <input name=duetyp type=radio value="9" onchange='set_from_to(this.value, year.value)'>[% 'September' | $T8 %]<br>
57 <input name=duetyp type=radio value="10" onchange='set_from_to(this.value, year.value)'>[% 'October' | $T8 %]<br>
58 <input name=duetyp type=radio value="11" onchange='set_from_to(this.value, year.value)'>[% 'November' | $T8 %]<br>
59 <input name=duetyp type=radio value="12" onchange='set_from_to(this.value, year.value)'>[% 'December' | $T8 %]<br>
63 <th colspan="4"><h4><input name=reporttype type=radio value="free">[% 'Free report period' | $T8 %]</h4></th>
68 [% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %]
69 [% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %]
75 <table class="tbl-horizontal col">
76 <caption>[% 'Warehouse & Article' | $T8 %]</caption>
79 <th>[% 'Warehouse' | $T8 %]</th>
81 <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(this.value, 0)" class="wi-normal">
82 <option value="">---</option>
83 [% FOREACH warehouse = WAREHOUSES %]
84 <option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option>
90 <th>[% 'Bin' | $T8 %]</th>
91 <td><select name="bin_id" id="bin_id" class="wi-normal"></select></td>
94 <th>[% 'Part Number' | $T8 %]</th>
95 <td><input type="text" name="partnumber" class="wi-normal"></td>
98 <th>[% 'Part Description' | $T8 %]</th>
99 <td><input type="text" name="description" class="wi-normal"></td>
101 [% IF PARTSCLASSIFICATIONS %]
103 <th>[% 'Part Classification' | $T8 %]</th>
104 <td>[% L.select_tag('partsclassification',PARTSCLASSIFICATION,title_key="partsclassification", class='wi-normal') %]</td>
108 <th>[% 'Charge Number' | $T8 %]</th>
109 <td><input type="text" name="chargenumber" class="wi-normal"></td>
111 [% IF INSTANCE_CONF.get_show_bestbefore %]
113 <th>[% 'Best Before' | $T8 %]</th>
114 <td>[% L.date_tag('bestbefore') %]</td>