]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/inventory/warehouse_usage.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / inventory / warehouse_usage.html
1 [% USE T8 %]
2 [% USE L %]
3 [% USE HTML %]
4 [% USE LxERP %]
5 [% WAREHOUSE_FILTER = 1 %]
6 [% PROCESS 'common/select_warehouse_bin.html' %]
7
8 <h1>[% title | html %]</h1>
9
10 [% INCLUDE 'common/flash.html' %]
11
12 <form name="Form" method="post" action="controller.pl" id="form">
13
14 <div class="wrapper">
15
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>
19   <tbody>
20   <tr>
21     <th colspan="4"><h4><input name=reporttype type=radio value="custom" checked> [% 'Customized Report' | $T8 %]</h4></th>
22   </tr>
23   <tr>
24     <th></th>
25     <th>[% 'Year' | $T8 %]</th>
26     <td colspan="2">
27       <input type="text" name=year title="[% 'YYYY' | $T8 %]" value="[% year %]" class="wi-smallest initial_focus" oninput='set_from_to(duetyp.value, this.value)'>
28     </td>
29   </tr>
30   <tr>
31     <th></th>
32     <th>[% 'Yearly'    | $T8 %]</th>
33     <th>[% 'Quarterly' | $T8 %]</th>
34     <th>[% 'Monthly'   | $T8 %]</th>
35   </tr>
36   <tr>
37     <th></th>
38     <td>
39       <input name=duetyp type=radio value="13" checked onchange='set_from_to(this.value, year.value)'>[% 'Yearly'    | $T8 %]
40     </td>
41     <td>
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>
46     </td>
47     <td>
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>
60     </td>
61   </tr>
62   <tr>
63     <th colspan="4"><h4><input name=reporttype type=radio value="free">[% 'Free report period' | $T8 %]</h4></th>
64   </tr>
65   <tr>
66     <th></th>
67     <td colspan="3">
68       [% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %]
69       [% 'Bis' | $T8 %] [% L.date_tag('todate', todate)  %]
70     </td>
71   </tr>
72   </tbody>
73 </table>
74
75 <table class="tbl-horizontal col">
76   <caption>[% 'Warehouse & Article' | $T8 %]</caption>
77   <tbody>
78     <tr>
79       <th>[% 'Warehouse' | $T8 %]</th>
80       <td>
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>
85           [% END %]
86         </select>
87       </td>
88     </tr>
89     <tr>
90       <th>[% 'Bin' | $T8 %]</th>
91       <td><select name="bin_id" id="bin_id" class="wi-normal"></select></td>
92     </tr>
93     <tr>
94       <th>[% 'Part Number' | $T8 %]</th>
95       <td><input type="text" name="partnumber" class="wi-normal"></td>
96     </tr>
97     <tr>
98       <th>[% 'Part Description' | $T8 %]</th>
99       <td><input type="text" name="description" class="wi-normal"></td>
100     </tr>
101     [% IF PARTSCLASSIFICATIONS %]
102       <tr>
103         <th>[% 'Part Classification' | $T8 %]</th>
104         <td>[% L.select_tag('partsclassification',PARTSCLASSIFICATION,title_key="partsclassification", class='wi-normal') %]</td>
105       </tr>
106     [% END %]
107     <tr>
108       <th>[% 'Charge Number' | $T8 %]</th>
109       <td><input type="text" name="chargenumber" class="wi-normal"></td>
110     </tr>
111     [% IF INSTANCE_CONF.get_show_bestbefore %]
112     <tr>
113       <th>[% 'Best Before' | $T8 %]</th>
114       <td>[% L.date_tag('bestbefore') %]</td>
115     </tr>
116     [% END %]
117   </tbody>
118 </table>
119
120 </div>
121
122 </form>