Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / wh / warehouse_selection.html
index 6c20594..efab904 100644 (file)
 
       $(function() {
         warehouse_selected(0, 0);
-        document.Form.partnumber.focus();
+        document.Form.part_id_name.focus();
       });
      -->
  </script>
 
- <form name="Form" method="post" action="wh.pl">
-
-  <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
+ <form name="Form" method="post" action="wh.pl" id="form">
 
   [% IF saved_message %]
   <p>[% saved_message %]</p>
@@ -98,7 +96,7 @@
     <tr>
      <th align="right" nowrap>[% 'Part' | $T8 %]</th>
      <td>
-      [% P.part_picker("part_id", '', size="30", part_type="part,assembly") %]
+      [% P.part.picker("part_id", parts_id, size="30", part_type="part,assembly") %]
      </td>
     </tr>
 
     </tr>
    </table>
   </p>
-
-  <p>
-   <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
-  </p>
  </form>
-