Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fffb545a

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID fffb545ab8c9a93f0cb0e66261b7329f7605424a
  • Vorgänger ff6d1c99
  • Nachfolger 9447cebd

Neues Design 2019 Standard-Code templates/webpages/do/set_stock_in_out.html

Unterschiede anzeigen:

templates/webpages/do/set_stock_in_out.html
1 1
[% USE HTML %]
2 2
[% USE L %]
3
 <script type="text/javascript">
4
  <!--
5
      $(function(){
6
        var row = $('#row').val();
7
        $(window.opener.document.getElementsByName("stock_" + $('#in_out').prop('value') + "_" + row)).val($('#stock').val());
8
        $(window.opener.document.getElementById("stock_in_out_qty_display_" + row)).html($('#qty_display').val());
9
        $(window.opener.document.getElementById("stock_in_out_qty_matches_" + row)).val([% qty_matches %]);
10 3

  
11
        window.close();
12
      });
13
    -->
14
 </script>
4
<script type="text/javascript"><!--
5
  $(function(){
6
    var row = $('#row').val();
7
    $(window.opener.document.getElementsByName("stock_" + $('#in_out').prop('value') + "_" + row)).val($('#stock').val());
8
    $(window.opener.document.getElementById("stock_in_out_qty_display_" + row)).html($('#qty_display').val());
9
    $(window.opener.document.getElementById("stock_in_out_qty_matches_" + row)).val([% qty_matches %]);
10
    window.close();
11
  });
12
--></script>
15 13

  
16
 <form name="data">
14
<form name="data">
17 15
  <input type="hidden" name="row" id="row" value="[% HTML.escape(row) %]">
18 16
  <input type="hidden" name="stock" id="stock" value="[% HTML.escape(stock) %]">
19 17
  <input type="hidden" name="in_out" id="in_out" value="[% HTML.escape(in_out) %]">
20 18
  <input type="hidden" name="qty_display" id="qty_display" value="[% HTML.escape(qty_display) %]">
21
 </form>
19
</form>

Auch abrufbar als: Unified diff