]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/wh/warehouse_selection.html
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[mfinanz.git] / templates / webpages / wh / warehouse_selection.html
index 254e8549c75f8ae09422cfc1b48f6c36c5828236..429b3b1e62586daa886ee6d156aacc22673f24d4 100644 (file)
@@ -1,8 +1,7 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE L %]
-[% USE JavaScript %]<body onload="on_load();">
-
+[%- USE JavaScript %]
  <script type="text/javascript" src="js/common.js"></script>
  <script type="text/javascript" src="js/part_selection.js"></script>
  <script type="text/javascript">
         control.options[bin_index].selected = true;
       }
 
-      function on_load() {
+      $(function() {
         warehouse_selected(0, 0);
         document.Form.partnumber.focus();
-      }
+      });
      -->
  </script>
 
      <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>
   </p>
  </form>
 
-</body>
-</html>