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