Revision 24fa3209
Von Bernd Bleßmann vor 4 Monaten hinzugefügt
templates/design40_webpages/part/_basic_data.html | ||
---|---|---|
212 | 212 |
<td>[% L.input_tag("part.order_qty_as_number", SELF.part.order_qty_as_number, size=10, |
213 | 213 |
class="wi-small reformat_number numeric") %]</td> |
214 | 214 |
</tr> |
215 |
[% IF SELF.all_warehouses.size %] |
|
216 |
<tr> |
|
217 |
<th>[% 'Default Warehouse' | $T8 %]</th> |
|
218 |
<td>[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1, class='wi-lightwide') %]</td> |
|
219 |
</tr> |
|
220 |
[% END %] |
|
221 |
<tr> |
|
222 |
<th>[% 'Default Bin' | $T8 %]</th> |
|
223 |
<td class="wi-lightwide"> |
|
224 |
<span id="bin" class="condensed"> |
|
225 |
[% IF SELF.part.warehouse.id %] |
|
226 |
[% L.select_tag('part.bin_id', SELF.part.warehouse.bins_sorted_naturally, default=SELF.part.bin.id, title_key='description', with_empty=0, class='wi-lightwide') %] |
|
227 |
[% END %] |
|
228 |
</span> |
|
229 |
</td> |
|
230 |
</tr> |
|
215 |
[% SET wh_bin_select_html = P.warehouse.wh_bin_select('warehouse', |
|
216 |
wh_name='part.warehouse_id', |
|
217 |
wh_default=SELF.part.warehouse.id, |
|
218 |
bin_name='part.bin_id', |
|
219 |
bin_default=SELF.part.bin.id, |
|
220 |
with_empty=1, |
|
221 |
class='wi-lightwide' |
|
222 |
) %] |
|
223 |
[% IF wh_bin_select_html %] |
|
224 |
<tr> |
|
225 |
<th>[% 'Default Bin' | $T8 %]</th> |
|
226 |
<td>[% wh_bin_select_html %]</td> |
|
227 |
</tr> |
|
228 |
[%- END %] |
|
231 | 229 |
<tr> |
232 | 230 |
<th><label for="part_has_sernumber">[% 'Has serial number' | $T8 %]</label></th> |
233 | 231 |
<td>[% L.checkbox_tag('part.has_sernumber', checked = SELF.part.has_sernumber, for_submit=1) %]</td> |
Auch abrufbar als: Unified diff
design40: S:C:Part: Lagerplatz-Presenter verwenden