Revision 502f4f4c
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
checks => [ @req_trans_cost_art, @req_cusordnumber ],
|
||
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.')
|
||
: $is_final_version ? t8('This record is the final version. Please create a new sub-version') : undef,
|
||
only_if => $self->type_data->show_menu('save_and_print'),
|
||
],
|
||
action => [
|
||
t8('Save and print'),
|
||
... | ... | |
checks => [ @req_trans_cost_art, @req_cusordnumber ],
|
||
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.')
|
||
: $is_final_version ? t8('This record is the final version. Please create a new sub-version') : undef,
|
||
only_if => $self->type_data->show_menu('save_and_print'),
|
||
],
|
||
action => [
|
||
($is_final_version ? t8('E-mail') : t8('Save and E-mail')),
|
||
... | ... | |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.')
|
||
: !$self->order->id ? t8('This object has not been saved yet.')
|
||
: undef,
|
||
only_if => $self->type_data->show_menu('save_and_email'),
|
||
],
|
||
action => [
|
||
t8('Download attachments of all parts'),
|
SL/DB/Order/TypeData.pm | ||
---|---|---|
save_and_final_invoice => 1,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
save_and_print => 1,
|
||
save_and_email => 1,
|
||
delete => sub { $::instance_conf->get_sales_order_show_delete },
|
||
},
|
||
properties => {
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 1,
|
||
save_and_invoice => 1,
|
||
save_and_print => 1,
|
||
save_and_email => 1,
|
||
delete => sub { $::instance_conf->get_purchase_order_show_delete },
|
||
},
|
||
properties => {
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
save_and_print => 1,
|
||
save_and_email => 1,
|
||
delete => 1,
|
||
},
|
||
properties => {
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
save_and_print => 1,
|
||
save_and_email => 1,
|
||
delete => 1,
|
||
},
|
||
properties => {
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 0,
|
||
save_and_print => 1,
|
||
save_and_email => 1,
|
||
delete => 1,
|
||
},
|
||
properties => {
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 0,
|
||
save_and_print => 1,
|
||
save_and_email => 1,
|
||
delete => sub { $::instance_conf->get_sales_order_show_delete },
|
||
},
|
||
properties => {
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 1,
|
||
save_and_invoice => 1,
|
||
save_and_print => 0,
|
||
save_and_email => 0,
|
||
delete => sub { $::instance_conf->get_purchase_order_show_delete },
|
||
},
|
||
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.