Revision ee3de254
Von Bernd Bleßmann vor 4 Monaten hinzugefügt
templates/webpages/part/_basic_data.html | ||
---|---|---|
169 | 169 |
<th align="right" nowrap="true">[% 'Order Size' | $T8 %]</th> |
170 | 170 |
<td>[% L.input_tag("part.order_qty_as_number", SELF.part.order_qty_as_number, size=10, class="numeric") %]</td> |
171 | 171 |
</tr> |
172 |
<tr> |
|
173 |
<th align="right" nowrap="true">[% 'Default Warehouse / Bin' | $T8 %]</th> |
|
174 |
<td> |
|
175 |
[% P.warehouse.wh_bin_select('warehouse', |
|
176 |
wh_name='part.warehouse_id', |
|
177 |
wh_default=SELF.part.warehouse.id, |
|
178 |
bin_name='part.bin_id', |
|
179 |
bin_default=SELF.part.bin.id, |
|
180 |
with_empty=1) %] |
|
181 |
</td> |
|
182 |
</tr> |
|
172 |
[% SET wh_bin_select_html = P.warehouse.wh_bin_select('warehouse', |
|
173 |
wh_name='part.warehouse_id', |
|
174 |
wh_default=SELF.part.warehouse.id, |
|
175 |
bin_name='part.bin_id', |
|
176 |
bin_default=SELF.part.bin.id, |
|
177 |
with_empty=1, |
|
178 |
) %] |
|
179 |
[% IF wh_bin_select_html %] |
|
180 |
<tr> |
|
181 |
<th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th> |
|
182 |
<td>[% wh_bin_select_html %]</td> |
|
183 |
</tr> |
|
184 |
[%- END %] |
|
183 | 185 |
[%- END %] |
184 | 186 |
<tr> |
185 | 187 |
<th align="right" nowrap="true">[% 'Verrechnungseinheit' | $T8 %]</th> |
Auch abrufbar als: Unified diff
Part-Controller: Benutzung Presenter Lager/Lagerplatz: nicht zeigen, wenn leer