[%- USE T8 %][%- USE L %][% USE LxERP %]
+[% PROCESS 'common/select_warehouse_bin.html' WAREHOUSES=SELF.WAREHOUSES warehouse_id=SELF.warehouse_id bin_id=SELF.bin_id %]
<h1>[% title | html %]</h1>
[% PROCESS 'common/flash.html' %]
[% 'Any stock contents containing a best before date will be impossible to stock out otherwise.' | $T8 %]
</td>
</tr>
+ <tr> </tr>
+ <tr> </tr>
+ <tr>
+ <th align="right" nowrap="true">[% 'Default Warehouse' | $T8 %]</th>
+ <td>
+ <select name="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
+ [%- FOREACH warehouse = SELF.WAREHOUSES %]
+ <option value="[% HTML.escape(warehouse.id) %]"[% IF SELF.warehouse_id == warehouse.id %] selected[% END %]>[% warehouse.description %]</option>
+ [%- END %]
+ </select>
+ </td>
+ <td>
+ [% 'This is the default bin for parts' | $T8 %]<br>
+ </td>
+ </tr>
+ <tr>
+ <th align="right" nowrap="true">[% 'Default Bin' | $T8 %]</th>
+ <td><select id="bin_id" name="bin_id"></select></td>
+ </tr>
+
<tr class='listheading'>
<th colspan="3">[% 'Weight' | $T8 %]</th>