</body> entfernt
[kivitendo-erp.git] / templates / webpages / do / set_stock_in_out.html
1 [% USE HTML %]
2 [% USE L %]
3 [% L.javascript_tag('jquery') %]
4 <body onload="on_load();">
5
6  <script type="text/javascript">
7   <!--
8       function on_load() {
9         var row = $('#row').attr('value');
10         window.opener.document.getElementsByName("stock_" + $('#in_out').attr('value') + "_" + row)[0].value = $('#stock').attr('value');
11         $(window.opener.document.getElementById("stock_in_out_qty_display_" + row)).html($('#qty_display').attr('value'));
12         $(window.opener.document.getElementById("stock_in_out_qty_matches_" + row)).val([% qty_matches %]);
13
14         window.close();
15       }
16     -->
17  </script>
18
19  <form name="data">
20   <input type="hidden" name="row" id="row" value="[% HTML.escape(row) %]">
21   <input type="hidden" name="stock" id="stock" value="[% HTML.escape(stock) %]">
22   <input type="hidden" name="in_out" id="in_out" value="[% HTML.escape(in_out) %]">
23   <input type="hidden" name="qty_display" id="qty_display" value="[% HTML.escape(qty_display) %]">
24  </form>
25