Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b5209d2a

Von Tamino Steinert vor 7 Monaten hinzugefügt

  • ID b5209d2a93b887279773511c0c69e66084b4fe42
  • Vorgänger 16d6314b
  • Nachfolger 38c08c2f

FIX: DeliveryOrder: Auslagern Verkaufslieferschein

behebt #632

Unterschiede anzeigen:

js/kivi.DeliveryOrder.js
121 121
  };
122 122

  
123 123
  ns.add_stock_in_line_to_dialog = function() {
124
    console.log("clicked");
125
    console.log($("#parts_id"));
126
    console.log($("#parts_id").val());
127
    console.log($("#do_qty"));
128
    console.log($("#do_qty").val());
129

  
130 124
    let qty_sum = 0;
131 125
    let row_count = 0;
132
    $("#stock-in-out-table tr.listrow").each((i,row) => {
126
    $("#stock-in-out-table tr.data-row").each((i,row) => {
133 127
      let qty = kivi.parse_amount($(row).find(".data-qty").val());
134 128

  
135 129
      row_count = row_count + 1;
......
156 150
    // we don't want to do this in javascript so we do a tiny roundtrip to the backend
157 151

  
158 152
    let data = [];
159
    $("#stock-in-out-table tr.listrow").each((i,row) => {
153
    $("#stock-in-out-table tr.data-row").each((i,row) => {
160 154
      let qty = kivi.parse_amount($(row).find(".data-qty").val());
161 155

  
162 156
      if (qty === 0 || qty === null) return;

Auch abrufbar als: Unified diff