Revision 4a512642
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
t8('Save and Purchase Quotation Intake'),
|
||
call => [ 'kivi.submit_ajax_form', $self->url_for(action => "save_and_order_workflow", to_type => PURCHASE_QUOTATION_INTAKE_TYPE()), '#order_form' ],
|
||
only_if => (any { $self->type eq $_ } (REQUEST_QUOTATION_TYPE())),
|
||
only_if => $self->type_data->show_menu('save_and_purchase_quotation_intake'),
|
||
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef,
|
||
],
|
||
action => [
|
||
t8('Save and Sales Order Intake'),
|
||
call => [ 'kivi.submit_ajax_form', $self->url_for(action => "save_and_order_workflow", to_type => SALES_ORDER_INTAKE_TYPE()), '#order_form' ],
|
||
only_if => (any { $self->type eq $_ } (SALES_QUOTATION_TYPE())),
|
||
only_if => $self->type_data->show_menu('save_and_sales_order_intake'),
|
||
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef,
|
||
],
|
||
action => [
|
SL/DB/Order/TypeData.pm | ||
---|---|---|
attachment => t8("sales_order_list"),
|
||
},
|
||
show_menu => {
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 1,
|
||
save_and_sales_order => 0,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 1,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 1,
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 1,
|
||
save_and_purchase_quation_intake => 0,
|
||
save_and_sales_order_intake => 0,
|
||
save_and_sales_order => 0,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 1,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 1,
|
||
save_and_invoice_for_advance_payment => 1,
|
||
save_and_final_invoice => 1,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
delete => sub { $::instance_conf->get_sales_order_show_delete },
|
||
save_and_final_invoice => 1,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
delete => sub { $::instance_conf->get_sales_order_show_delete },
|
||
},
|
||
properties => {
|
||
customervendor => "customer",
|
||
... | ... | |
attachment => t8("purchase_order_list"),
|
||
},
|
||
show_menu => {
|
||
save_and_quotation => 0,
|
||
save_and_rfq => 1,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 0,
|
||
save_and_delivery_order => 1,
|
||
save_and_supplier_delivery_order => 1,
|
||
save_and_reclamation => 1,
|
||
save_and_quotation => 0,
|
||
save_and_rfq => 1,
|
||
save_and_purchase_quation_intake => 0,
|
||
save_and_sales_order_intake => 0,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 0,
|
||
save_and_delivery_order => 1,
|
||
save_and_supplier_delivery_order => 1,
|
||
save_and_reclamation => 1,
|
||
save_and_invoice_for_advance_payment => 0,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 1,
|
||
save_and_invoice => 1,
|
||
delete => sub { $::instance_conf->get_purchase_order_show_delete },
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 1,
|
||
save_and_invoice => 1,
|
||
delete => sub { $::instance_conf->get_purchase_order_show_delete },
|
||
},
|
||
properties => {
|
||
customervendor => "vendor",
|
||
... | ... | |
attachment => t8("quotation_list"),
|
||
},
|
||
show_menu => {
|
||
save_and_quotation => 0,
|
||
save_and_rfq => 1,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 0,
|
||
save_and_delivery_order => 0,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 0,
|
||
save_and_quotation => 0,
|
||
save_and_rfq => 1,
|
||
save_and_purchase_quation_intake => 0,
|
||
save_and_sales_order_intake => 1,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 0,
|
||
save_and_delivery_order => 0,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 0,
|
||
save_and_invoice_for_advance_payment => 0,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
delete => 1,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
delete => 1,
|
||
},
|
||
properties => {
|
||
customervendor => "customer",
|
||
... | ... | |
attachment => t8("rfq_list"),
|
||
},
|
||
show_menu => {
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 0,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 0,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 0,
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 0,
|
||
save_and_purchase_quation_intake => 1,
|
||
save_and_sales_order_intake => 0,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 0,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 0,
|
||
save_and_invoice_for_advance_payment => 0,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
delete => 1,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 1,
|
||
delete => 1,
|
||
},
|
||
properties => {
|
||
customervendor => "vendor",
|
||
... | ... | |
attachment => t8('purchase_quotation_intake_list'),
|
||
},
|
||
show_menu => {
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 0,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 0,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 0,
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 0,
|
||
save_and_purchase_quation_intake => 0,
|
||
save_and_sales_order_intake => 0,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 0,
|
||
save_and_supplier_delivery_order => 0,
|
||
save_and_reclamation => 0,
|
||
save_and_invoice_for_advance_payment => 0,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 0,
|
||
delete => 1,
|
||
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 0,
|
||
delete => 1,
|
||
},
|
||
properties => {
|
||
customervendor => "vendor",
|
||
... | ... | |
show_menu => {
|
||
save_and_quotation => 1,
|
||
save_and_rfq => 1,
|
||
save_and_purchase_quation_intake => 0,
|
||
save_and_sales_order_intake => 0,
|
||
save_and_sales_order => 1,
|
||
save_and_purchase_order => 1,
|
||
save_and_delivery_order => 0,
|
||
... | ... | |
save_and_final_invoice => 0,
|
||
save_and_ap_transaction => 0,
|
||
save_and_invoice => 0,
|
||
delete => sub { $::instance_conf->get_sales_order_show_delete },
|
||
delete => sub { $::instance_conf->get_sales_order_show_delete },
|
||
},
|
||
properties => {
|
||
customervendor => "customer",
|
Auch abrufbar als: Unified diff
Model::Record: Workflow zu Angebots- und Auftrags-Eingänge eingefügt