Revision 9ef0dcd3
Von Sven Schöling vor fast 3 Jahren hinzugefügt
js/kivi.DeliveryOrder.js | ||
---|---|---|
78 | 78 |
}); |
79 | 79 |
}; |
80 | 80 |
|
81 |
ns.open_stock_in_out_dialog = function(clicked, in_out) { |
|
82 |
var $row = $(clicked).parents("tbody").first(); |
|
83 |
var id = $row.find('[name="orderitem_ids[+]"]').val(); |
|
84 |
$row.uniqueId(); |
|
85 |
|
|
86 |
kivi.popup_dialog({ |
|
87 |
id: "stock_in_out", |
|
88 |
url: "controller.pl?action=DeliveryOrder/stock_in_out_dialog", |
|
89 |
data: { |
|
90 |
id: $("#id").val(), |
|
91 |
type: $("#type").val(), |
|
92 |
parts_id: $row.find("[name$=parts_id]").val(), |
|
93 |
unit: $row.find("[name$=unit]").val(), |
|
94 |
qty_as_number: $("qty_" + id).val(), |
|
95 |
stock: $("stock_" + id).val(), |
|
96 |
item_id: id, |
|
97 |
row: $row.attr("id"), |
|
98 |
}, |
|
99 |
dialog: { title: kivi.t8('Transfer stock') } |
|
100 |
}); |
|
101 |
}; |
|
102 |
|
|
81 | 103 |
ns.print = function() { |
82 | 104 |
$('#print_options').dialog('close'); |
83 | 105 |
|
Auch abrufbar als: Unified diff
DeliveryOrder: erste Version Lager-Dialog