epic-ts
[kivitendo-erp.git] / templates / webpages / wh / warehouse_selection.html
index 13c208e..6b48f40 100644 (file)
@@ -2,7 +2,7 @@
 [%- USE HTML %]
 [%- USE L %]
 [%- USE JavaScript %]
-<body onload="on_load();">
+<h1>[% title %]</h1>
 
  <script type="text/javascript" src="js/common.js"></script>
  <script type="text/javascript" src="js/part_selection.js"></script>
         control.options[bin_index].selected = true;
       }
 
-      function on_load() {
+      $(function() {
         warehouse_selected(0, 0);
         document.Form.partnumber.focus();
-      }
+      });
      -->
  </script>
 
@@ -70,8 +70,6 @@
   <p>[% saved_message %]</p>
   [% END %]
 
-  <div class="listtop">[% title %]</div>
-
   <p>
    [% 'If you enter values for the part number and / or part description then only those bins containing parts whose part number or part description match your input will be shown.' | $T8 %]
   </p>
      <td><input name="chargenumber" size="30"></td>
     </tr>
 
-    [% IF conf_show_best_before %]
+    [% IF INSTANCE_CONF.get_show_bestbefore %]
     <tr>
      <th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
      <td>