Fehlende Template Direktive ergänzt
[kivitendo-erp.git] / templates / webpages / client_config / form.html
index 5fc0c04..a4df3bf 100644 (file)
@@ -1,5 +1,6 @@
-[%- USE T8 %][%- USE L %][% USE LxERP %]
+[%- USE T8 %][%- USE L %][% USE LxERP %][% USE HTML %]
 
+[% 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>
+ </tr>
+ <tr>
+   <td align="right">[% 'Show weights' | $T8 %]</td>
+   <td>
+     [% L.yes_no_tag('show_weight', SELF.show_weight) %]
+   </td>
+   <td>
+     [% 'Show the weights of articles and the total weight in orders, invoices and delivery notes?' | $T8 %]<br>
+   </td>
+ </tr>
 </table>
 
 <br>