Revision 0b08a38f
Von Bernd Bleßmann vor 12 Monaten hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
2494 | 2494 |
checks => [ @req_trans_cost_art, @req_cusordnumber ], |
2495 | 2495 |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') |
2496 | 2496 |
: $is_final_version ? t8('This record is the final version. Please create a new sub-version') : undef, |
2497 |
only_if => $self->type_data->show_menu('save_and_print'), |
|
2497 | 2498 |
], |
2498 | 2499 |
action => [ |
2499 | 2500 |
t8('Save and print'), |
... | ... | |
2503 | 2504 |
checks => [ @req_trans_cost_art, @req_cusordnumber ], |
2504 | 2505 |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') |
2505 | 2506 |
: $is_final_version ? t8('This record is the final version. Please create a new sub-version') : undef, |
2507 |
only_if => $self->type_data->show_menu('save_and_print'), |
|
2506 | 2508 |
], |
2507 | 2509 |
action => [ |
2508 | 2510 |
($is_final_version ? t8('E-mail') : t8('Save and E-mail')), |
... | ... | |
2515 | 2517 |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') |
2516 | 2518 |
: !$self->order->id ? t8('This object has not been saved yet.') |
2517 | 2519 |
: undef, |
2520 |
only_if => $self->type_data->show_menu('save_and_email'), |
|
2518 | 2521 |
], |
2519 | 2522 |
action => [ |
2520 | 2523 |
t8('Download attachments of all parts'), |
SL/DB/Order/TypeData.pm | ||
---|---|---|
48 | 48 |
save_and_final_invoice => 1, |
49 | 49 |
save_and_ap_transaction => 0, |
50 | 50 |
save_and_invoice => 1, |
51 |
save_and_print => 1, |
|
52 |
save_and_email => 1, |
|
51 | 53 |
delete => sub { $::instance_conf->get_sales_order_show_delete }, |
52 | 54 |
}, |
53 | 55 |
properties => { |
... | ... | |
101 | 103 |
save_and_final_invoice => 0, |
102 | 104 |
save_and_ap_transaction => 1, |
103 | 105 |
save_and_invoice => 1, |
106 |
save_and_print => 1, |
|
107 |
save_and_email => 1, |
|
104 | 108 |
delete => sub { $::instance_conf->get_purchase_order_show_delete }, |
105 | 109 |
}, |
106 | 110 |
properties => { |
... | ... | |
147 | 151 |
save_and_final_invoice => 0, |
148 | 152 |
save_and_ap_transaction => 0, |
149 | 153 |
save_and_invoice => 1, |
154 |
save_and_print => 1, |
|
155 |
save_and_email => 1, |
|
150 | 156 |
delete => 1, |
151 | 157 |
}, |
152 | 158 |
properties => { |
... | ... | |
200 | 206 |
save_and_final_invoice => 0, |
201 | 207 |
save_and_ap_transaction => 0, |
202 | 208 |
save_and_invoice => 1, |
209 |
save_and_print => 1, |
|
210 |
save_and_email => 1, |
|
203 | 211 |
delete => 1, |
204 | 212 |
}, |
205 | 213 |
properties => { |
... | ... | |
246 | 254 |
save_and_final_invoice => 0, |
247 | 255 |
save_and_ap_transaction => 0, |
248 | 256 |
save_and_invoice => 0, |
257 |
save_and_print => 1, |
|
258 |
save_and_email => 1, |
|
249 | 259 |
delete => 1, |
250 | 260 |
}, |
251 | 261 |
properties => { |
... | ... | |
292 | 302 |
save_and_final_invoice => 0, |
293 | 303 |
save_and_ap_transaction => 0, |
294 | 304 |
save_and_invoice => 0, |
305 |
save_and_print => 1, |
|
306 |
save_and_email => 1, |
|
295 | 307 |
delete => sub { $::instance_conf->get_sales_order_show_delete }, |
296 | 308 |
}, |
297 | 309 |
properties => { |
... | ... | |
345 | 357 |
save_and_final_invoice => 0, |
346 | 358 |
save_and_ap_transaction => 1, |
347 | 359 |
save_and_invoice => 1, |
360 |
save_and_print => 0, |
|
361 |
save_and_email => 0, |
|
348 | 362 |
delete => sub { $::instance_conf->get_purchase_order_show_delete }, |
349 | 363 |
}, |
350 | 364 |
properties => { |
Auch abrufbar als: Unified diff
Lieferantenauftragsbestätigung: Nicht drucken, nicht per Mail verschicken.
Erscheint mir beides hier nicht sinnvoll.
Funktionalität ist aber da; Druckvorlagen fehlen noch.