Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 93262a51

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID 93262a51ee23c2c011e5556ab483f8f0f31c6da0
  • Vorgänger 42b702a6
  • Nachfolger cd1d67a1

Fehlendes JavaScript zu den Lieferscheinen.

Unterschiede anzeigen:

js/stock_in_out.js
1
function open_stock_in_out_window(in_out, row) {
2
  var width    = 980;
3
  var height   = 600;
4
  var parm     = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
5

  
6
  var parts_id = document.getElementsByName("id_" + row)[0].value;
7
  var stock    = document.getElementsByName("stock_" + in_out + "_" + row)[0].value;
8
  var do_qty   = document.getElementsByName("qty_" + row)[0].value;
9
  var do_unit  = document.getElementsByName("unit_" + row)[0].value;
10
  var closed   = document.getElementsByName("closed")[0].value;
11

  
12
  url = "do.pl?" +
13
    "action=stock_in_out_form&" +
14
    "in_out="   + escape_more(in_out)   + "&" +
15
    "row="      + escape_more(row)      + "&" +
16
    "parts_id=" + escape_more(parts_id) + "&" +
17
    "do_qty="   + escape_more(do_qty)   + "&" +
18
    "do_unit="  + escape_more(do_unit)  + "&" +
19
    "stock="    + escape_more(stock)    + "&" +
20
    "closed="   + escape_more(closed)   + "&" +
21
    "";
22
  //alert(url);
23
  window.open(url, "_new_generic", parm);
24

  
25
}

Auch abrufbar als: Unified diff