Revision 4215edd5
Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt
templates/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' %]
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE L %] |
|
3 |
[% USE HTML %] |
|
4 |
[% USE LxERP %] |
|
5 |
[% WAREHOUSE_FILTER = 1 %] |
|
6 |
[% PROCESS 'common/select_warehouse_bin.html' %] |
|
7 | 7 |
|
8 | 8 |
<h1>[% title | html %]</h1> |
9 | 9 |
|
10 |
[%- INCLUDE 'common/flash.html' %]
|
|
10 |
[% INCLUDE 'common/flash.html' %] |
|
11 | 11 |
|
12 | 12 |
<form name="Form" method="post" action="controller.pl" id="form"> |
13 | 13 |
|
14 |
<table border="0"> |
|
15 |
<tr> |
|
16 |
<th class="listheading" align="left" valign="top" colspan="5" nowrap>[% 'Period:' | $T8 %]</th> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th> |
|
20 |
</tr> |
|
21 |
<tr> |
|
22 |
<th colspan=1>[% 'Year' | $T8 %]</th> |
|
23 |
<td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus"></td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<td align=right> <b>[% 'Yearly' | $T8 %]</b> </td> |
|
27 |
<th align=left>[% 'Quarterly' | $T8 %]</th> |
|
28 |
<th align=left colspan=3>[% 'Monthly' | $T8 %]</th> |
|
29 |
</tr> |
|
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> |
|
30 | 20 |
<tr> |
31 |
<td align=right> <input name=duetyp class=radio type=radio value="13" checked></td> |
|
32 |
<td><input name=duetyp class=radio type=radio value="A"> 1. [% 'Quarter' | $T8 %]</td> |
|
33 |
<td><input name=duetyp class=radio type=radio value="1"> [% 'January' | $T8 %]</td> |
|
34 |
<td><input name=duetyp class=radio type=radio value="5"> [% 'May' | $T8 %]</td> |
|
35 |
<td><input name=duetyp class=radio type=radio value="9"> [% 'September' | $T8 %]</td> |
|
21 |
<th colspan="4"><h4><input name=reporttype type=radio value="custom" checked> [% 'Customized Report' | $T8 %]</h4></th> |
|
36 | 22 |
</tr> |
37 | 23 |
<tr> |
38 |
<td align= right> </td>
|
|
39 |
<td><input name=duetyp class=radio type=radio value="B"> 2. [% 'Quarter' | $T8 %]</td>
|
|
40 |
<td><input name=duetyp class=radio type=radio value="2"> [% 'February' | $T8 %]</td>
|
|
41 |
<td><input name=duetyp class=radio type=radio value="6"> [% 'June' | $T8 %]</td>
|
|
42 |
<td><input name=duetyp class=radio type=radio value="10"> [% 'October' | $T8 %]</td>
|
|
24 |
<th></th>
|
|
25 |
<th>[% 'Year' | $T8 %]</th>
|
|
26 |
<td colspan="2">
|
|
27 |
<input type="text" name=year class="wi-smallest" title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus" oninput='set_from_to(duetyp.value, this.value)'>
|
|
28 |
</td> |
|
43 | 29 |
</tr> |
44 | 30 |
<tr> |
45 |
<td> </td> |
|
46 |
<td><input name=duetyp class=radio type=radio value="C"> 3. [% 'Quarter' | $T8 %]</td> |
|
47 |
<td><input name=duetyp class=radio type=radio value="3"> [% 'March' | $T8 %]</td> |
|
48 |
<td><input name=duetyp class=radio type=radio value="7"> [% 'July' | $T8 %]</td> |
|
49 |
<td><input name=duetyp class=radio type=radio value="11"> [% 'November' | $T8 %]</td> |
|
31 |
<th></th> |
|
32 |
<th>[% 'Yearly' | $T8 %]</th> |
|
33 |
<th>[% 'Quarterly' | $T8 %]</th> |
|
34 |
<th>[% 'Monthly' | $T8 %]</th> |
|
50 | 35 |
</tr> |
51 | 36 |
<tr> |
52 |
<td> </td> |
|
53 |
<td><input name=duetyp class=radio type=radio value="D"> 4. [% 'Quarter' | $T8 %]</td> |
|
54 |
<td><input name=duetyp class=radio type=radio value="4"> [% 'April' | $T8 %]</td> |
|
55 |
<td><input name=duetyp class=radio type=radio value="8"> [% 'August' | $T8 %]</td> |
|
56 |
<td><input name=duetyp class=radio type=radio value="12"> [% 'December' | $T8 %]</td> |
|
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> |
|
57 | 61 |
</tr> |
58 | 62 |
<tr> |
59 |
<td colspan="5"><hr size=3 noshade></td>
|
|
63 |
<th colspan="4"><h4><input name=reporttype type=radio value="free">[% 'Free report period' | $T8 %]</h4></th>
|
|
60 | 64 |
</tr> |
61 | 65 |
<tr> |
62 |
<th align=left><input name=reporttype class=radio type=radio value="free">[% 'Free report period' | $T8 %]</th>
|
|
63 |
<td align=left colspan=4>
|
|
66 |
<th></th>
|
|
67 |
<td colspan="3">
|
|
64 | 68 |
[% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %] |
65 |
[% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %] |
|
69 |
[% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %]
|
|
66 | 70 |
</td> |
67 | 71 |
</tr> |
72 |
</tbody> |
|
73 |
</table> |
|
74 |
|
|
75 |
<table class="tbl-horizontal col"> |
|
76 |
<caption>[% 'Storage & Article' | $T8 %]</caption> |
|
77 |
<tbody> |
|
68 | 78 |
<tr> |
69 |
<th class="listheading" align="left" valign="top" colspan="5" nowrap>[% 'Filter' | $T8 %]</th> |
|
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> |
|
70 | 88 |
</tr> |
71 | 89 |
<tr> |
72 |
<td colspan="5"> |
|
73 |
<table> |
|
74 |
<tr> |
|
75 |
<th align="right" nowrap>[% 'Warehouse' | $T8 %]:</th> |
|
76 |
<td> |
|
77 |
<select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(this.value, 0)"> |
|
78 |
<option value="">---</option> |
|
79 |
[%- FOREACH warehouse = WAREHOUSES %] |
|
80 |
<option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option> |
|
81 |
[%- END %] |
|
82 |
</select> |
|
83 |
</td> |
|
84 |
</tr> |
|
85 |
<tr> |
|
86 |
<th align="right" nowrap>[% 'Bin' | $T8 %]:</th> |
|
87 |
<td><select name="bin_id" id="bin_id"></select></td> |
|
88 |
</tr> |
|
89 |
<tr> |
|
90 |
<th align="right" nowrap>[% 'Part Number' | $T8 %]:</th> |
|
91 |
<td><input name="partnumber" size=20></td> |
|
92 |
</tr> |
|
93 |
<tr> |
|
94 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]:</th> |
|
95 |
<td><input name="description" size=40></td> |
|
96 |
</tr> |
|
97 |
[% IF PARTSCLASSIFICATIONS %] |
|
98 |
<tr> |
|
99 |
<td> |
|
100 |
[% L.select_tag('partsclassification',PARTSCLASSIFICATION,title_key="partsclassification") %] |
|
101 |
</td> |
|
102 |
</tr> |
|
103 |
[% END %] |
|
104 |
<tr> |
|
105 |
<th align="right" nowrap>[% 'Charge Number' | $T8 %]:</th> |
|
106 |
<td><input name="chargenumber" size=40></td> |
|
107 |
</tr> |
|
108 |
[% IF INSTANCE_CONF.get_show_bestbefore %] |
|
109 |
<tr> |
|
110 |
<th align="right" nowrap>[% 'Best Before' | $T8 %]:</th> |
|
111 |
<td> |
|
112 |
[% L.date_tag('bestbefore') %] |
|
113 |
</td> |
|
114 |
</tr> |
|
115 |
[% END %] |
|
116 |
</table> |
|
117 |
</td> |
|
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> |
|
118 | 100 |
</tr> |
119 |
</table> |
|
120 |
</p> |
|
121 |
</form> |
|
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> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/inventory/..