Revision 85693e13
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
1898 | 1898 |
], |
1899 | 1899 |
action => [ |
1900 | 1900 |
t8('Save and print'), |
1901 |
call => [ 'kivi.Order.show_print_options', $::instance_conf->get_order_warn_duplicate_parts ], |
|
1901 |
call => [ 'kivi.Order.show_print_options', $::instance_conf->get_order_warn_duplicate_parts, |
|
1902 |
$::instance_conf->get_order_warn_no_deliverydate, |
|
1903 |
], |
|
1902 | 1904 |
], |
1903 | 1905 |
action => [ |
1904 | 1906 |
t8('Save and E-mail'), |
1905 | 1907 |
id => 'save_and_email_action', |
1906 |
call => [ 'kivi.Order.save', 'save_and_show_email_dialog', $::instance_conf->get_order_warn_duplicate_parts ], |
|
1908 |
call => [ 'kivi.Order.save', 'save_and_show_email_dialog', $::instance_conf->get_order_warn_duplicate_parts, |
|
1909 |
$::instance_conf->get_order_warn_no_deliverydate, |
|
1910 |
], |
|
1907 | 1911 |
disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, |
1908 | 1912 |
], |
1909 | 1913 |
action => [ |
js/kivi.Order.js | ||
---|---|---|
63 | 63 |
$.post("controller.pl", data, kivi.eval_json_result); |
64 | 64 |
}; |
65 | 65 |
|
66 |
ns.show_print_options = function(warn_on_duplicates) { |
|
66 |
ns.show_print_options = function(warn_on_duplicates, warn_on_reqdate) {
|
|
67 | 67 |
if (!ns.check_cv()) return; |
68 | 68 |
if (warn_on_duplicates && !ns.check_duplicate_parts(kivi.t8("Do you really want to print?"))) return; |
69 | 69 |
|
Auch abrufbar als: Unified diff
Order: Warnung/Fehler bei Liefertermin auch bei kombinierten Export-Aktionen