Revision 25cdb7cc
Von Tamino Steinert vor 8 Tagen hinzugefügt
js/kivi.Part.js | ||
---|---|---|
26 | 26 |
var data = $('#print_options_form').serializeArray(); |
27 | 27 |
data.push({ name: 'action', value: 'Part/print_label' }); |
28 | 28 |
data.push({ name: 'part.id', value: part_id }); |
29 |
$.download("controller.pl", data); |
|
29 |
$.download("controller.pl", data);
|
|
30 | 30 |
}; |
31 | 31 |
|
32 |
ns.show_print_options = function() { |
|
32 |
ns.show_print_options = function() {
|
|
33 | 33 |
kivi.popup_dialog({ |
34 | 34 |
id: 'print_options', |
35 | 35 |
dialog: { |
... | ... | |
50 | 50 |
$.post("controller.pl", data, kivi.eval_json_result); |
51 | 51 |
}; |
52 | 52 |
|
53 |
ns.show_part_labels_for_stock_print_options = function() { |
|
54 |
kivi.popup_dialog({ |
|
55 |
id: 'print_part_labels_for_stock_print_options', |
|
56 |
dialog: { |
|
57 |
title: kivi.t8('Part Labels for Stock Print options'), |
|
58 |
width: 800, |
|
59 |
height: 300 |
|
60 |
} |
|
61 |
}); |
|
62 |
} |
|
63 |
|
|
64 |
ns.save_and_print_part_labels_for_stock = function() { |
|
65 |
$('#print_part_labels_for_stock_print_options').dialog('close'); |
|
66 |
|
|
67 |
var data = $('#ic').serializeArray(); |
|
68 |
data = data.concat($('#print_part_labels_for_stock_print_options_form').serializeArray()); |
|
69 |
data.push({ name: 'action', value: 'Part/save_and_print' }); |
|
70 |
|
|
71 |
$.post("controller.pl", data, kivi.eval_json_result); |
|
72 |
}; |
|
73 |
|
|
53 | 74 |
ns.delete = function() { |
54 | 75 |
var data = $('#ic').serializeArray(); |
55 | 76 |
data.push({ name: 'action', value: 'Part/delete' }); |
Auch abrufbar als: Unified diff
Part: Etiketten für Bestand drucken