Revision b2978890
Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt
templates/webpages/wh/warehouse_selection_assembly.html | ||
---|---|---|
59 | 59 |
}) |
60 | 60 |
--></script> |
61 | 61 |
|
62 |
<form name="Form" method="post" action="wh.pl" id="form"> |
|
62 |
<form name="Form" method="post" action="wh.pl" id="form"> |
|
63 |
<div class="wrapper"> |
|
63 | 64 |
|
64 | 65 |
[% IF saved_message %] |
65 | 66 |
<p>[% saved_message %]</p> |
66 | 67 |
[% END %] |
67 | 68 |
|
68 |
<p> |
|
69 |
<table> |
|
70 |
<tr> |
|
71 |
<th align="right" nowrap>[% 'Assembly' | $T8 %]</th> |
|
72 |
<td> |
|
73 |
[% P.part.picker("parts_id", parts_id, part_type="assembly", class="initial_focus", fat_set_item="1") %] |
|
74 |
</td> |
|
75 |
</tr> |
|
76 | 69 |
|
70 |
<table class="tbl-horizontal"> |
|
71 |
<tbody> |
|
77 | 72 |
<tr> |
78 |
<th align="right" nowrap>[% 'Destination warehouse' | $T8 %]</th> |
|
79 |
<td> |
|
80 |
<select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)"> |
|
81 |
[%- FOREACH warehouse = WAREHOUSES %] |
|
82 |
<option value="[% HTML.escape(warehouse.id) %]"[% IF warehouse_id == warehouse.id %] selected[% END %]>[% warehouse.description %]</option> |
|
83 |
[%- END %] |
|
84 |
</select> |
|
85 |
</td> |
|
73 |
<th>[% 'Assembly' | $T8 %]</th> |
|
74 |
<td>[% P.part.picker("parts_id", parts_id, part_type="assembly", class="initial_focus", fat_set_item="1", class="wi-lightwide") %] </td> |
|
86 | 75 |
</tr> |
87 | 76 |
<tr> |
88 |
<th align="right" nowrap>[% 'Destination bin' | $T8 %]:</th> |
|
89 |
<td><select id="bin_id" name="bin_id"></select></td> |
|
77 |
<th>[% 'Destination warehouse' | $T8 %]</th> |
|
78 |
<td> |
|
79 |
<select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)" class="wi-lightwide"> |
|
80 |
[% FOREACH warehouse = WAREHOUSES %] |
|
81 |
<option value="[% HTML.escape(warehouse.id) %]"[% IF warehouse_id == warehouse.id %] selected[% END %]>[% warehouse.description %]</option> |
|
82 |
[% END %] |
|
83 |
</select> |
|
84 |
</td> |
|
90 | 85 |
</tr> |
91 | 86 |
<tr> |
92 |
<th align="right" nowrap>[% 'Charge number' | $T8 %]</th>
|
|
93 |
<td><input name="chargenumber" size="30" value="[% HTML.escape(chargenumber) %]"></td>
|
|
87 |
<th>[% 'Destination bin' | $T8 %]</th>
|
|
88 |
<td><select id="bin_id" name="bin_id" class="wi-lightwide"></select></td>
|
|
94 | 89 |
</tr> |
95 |
|
|
96 |
[% IF INSTANCE_CONF.get_show_bestbefore %] |
|
97 | 90 |
<tr> |
98 |
<th align="right" nowrap>[% 'Best Before' | $T8 %]</th> |
|
99 |
<td> |
|
100 |
[% L.date_tag('bestbefore', bestbefore) %] |
|
101 |
</td> |
|
91 |
<th>[% 'Charge number' | $T8 %]</th> |
|
92 |
<td><input type="text" name="chargenumber" class="wi-lightwide" value="[% HTML.escape(chargenumber) %]"></td> |
|
102 | 93 |
</tr> |
94 |
[% IF INSTANCE_CONF.get_show_bestbefore %] |
|
95 |
<tr> |
|
96 |
<th>[% 'Best Before' | $T8 %]</th> |
|
97 |
<td><span class="wi-date">[% L.date_tag('bestbefore', bestbefore) %]</span> </td> |
|
98 |
</tr> |
|
103 | 99 |
[% END %] |
104 | 100 |
<tr> |
105 |
<th align="right" nowrap>[% 'Quantity' | $T8 %]</th> |
|
106 |
<td> |
|
107 |
<input name="qty" size="10" value="[% HTML.escape(LxERP.format_amount(qty)) %]"> |
|
108 |
<select name="unit"> |
|
109 |
[%- FOREACH unit = UNITS %]<option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option>[% END %] |
|
110 |
</select> |
|
111 |
</td> |
|
101 |
<th>[% 'Quantity' | $T8 %]</th> |
|
102 |
<td> |
|
103 |
<input type="text" name="qty" class="wi-verysmall" value="[% HTML.escape(LxERP.format_amount(qty)) %]"> |
|
104 |
<select name="unit" class="wi-small"> |
|
105 |
[% FOREACH unit = UNITS %] |
|
106 |
<option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option> |
|
107 |
[% END %] |
|
108 |
</select> |
|
109 |
</td> |
|
112 | 110 |
</tr> |
113 | 111 |
<tr> |
114 |
<th align="right" nowrap>[% 'Optional comment' | $T8 %]</th> |
|
115 |
<td><input name="comment" size="30" value="[% HTML.escape(comment) %]"></td> |
|
112 |
<th>[% 'Optional comment' | $T8 %]</th> |
|
113 |
<td><input type="text" name="comment" class="wi-lightwide" value="[% HTML.escape(comment) %]"> |
|
114 |
</td> |
|
116 | 115 |
</tr> |
117 | 116 |
</tbody> |
118 | 117 |
</table> |
Auch abrufbar als: Unified diff
Design-4.0: HTML-Anpassung an neues Design templates/webpages/wh/..
Neues kivitendo Design Aenderungen in templates/webpages/wh/..