Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e7a47ffb

Von Bernd Bleßmann vor 7 Monaten hinzugefügt

  • ID e7a47ffb5a3d7217f941f11b9d26a17394adefc8
  • Vorgänger bb853414
  • Nachfolger 953b448e

Sichtbarkeit neuer Belege: Einstellung bei Workflows berücksichtigen

Unterschiede anzeigen:

SL/DB/DeliveryOrder/TypeData.pm
},
show_menu => {
workflow_invoice => 1,
workflow_reclamation => 1,
workflow_reclamation => sub { $::instance_conf->get_show_sales_reclamation },
delete => sub { $::instance_conf->get_sales_delivery_order_show_delete },
},
properties => {
......
},
show_menu => {
workflow_invoice => 1,
workflow_reclamation => 1,
workflow_reclamation => sub { $::instance_conf->get_show_purchase_reclamation },
delete => sub { $::instance_conf->get_sales_delivery_order_show_delete },
},
properties => {
SL/DB/Order/TypeData.pm
save_and_sales_delivery_order => 1,
save_and_purchase_delivery_order => 0,
save_and_supplier_delivery_order => 0,
save_and_reclamation => 1,
save_and_reclamation => sub { $::instance_conf->get_show_sales_reclamation },
save_and_invoice_for_advance_payment => 1,
save_and_final_invoice => 1,
save_and_ap_transaction => 0,
......
save_and_sales_order_intake => 0,
save_and_sales_order => 1,
save_and_purchase_order => 0,
save_and_purchase_order_confirmation => 1,
save_and_purchase_order_confirmation => sub { $::instance_conf->get_show_purchase_order_confirmation },
save_and_sales_delivery_order => 0,
save_and_purchase_delivery_order => 1,
save_and_supplier_delivery_order => 1,
save_and_reclamation => 1,
save_and_reclamation => sub { $::instance_conf->get_show_purchase_reclamation },
save_and_invoice_for_advance_payment => 0,
save_and_final_invoice => 0,
save_and_ap_transaction => 1,
......
save_and_quotation => 0,
save_and_rfq => 1,
save_and_purchase_quotation_intake => 0,
save_and_sales_order_intake => 1,
save_and_sales_order_intake => sub { $::instance_conf->get_show_sales_order_intake },
save_and_sales_order => 1,
save_and_purchase_order => 0,
save_and_purchase_order_confirmation => 0,
......
show_menu => {
save_and_quotation => 1,
save_and_rfq => 0,
save_and_purchase_quotation_intake => 1,
save_and_purchase_quotation_intake => sub { $::instance_conf->get_show_purchase_quotation_intake },
save_and_sales_order_intake => 0,
save_and_sales_order => 1,
save_and_purchase_order => 1,
......
save_and_sales_delivery_order => 0,
save_and_purchase_delivery_order => 1,
save_and_supplier_delivery_order => 1,
save_and_reclamation => 1,
save_and_reclamation => sub { $::instance_conf->get_show_purchase_reclamation },
save_and_invoice_for_advance_payment => 0,
save_and_final_invoice => 0,
save_and_ap_transaction => 1,
bin/mozilla/ir.pl
t8('Reclamation'),
submit => ['#form', { action => "purchase_reclamation" }], # can't call Reclamation directly
disabled => !$form->{id} ? t8('This invoice has not been posted yet.') : undef,
only_if => ($::form->{type} eq 'purchase_invoice')
only_if => ($::instance_conf->get_show_purchase_reclamation && $::form->{type} eq 'purchase_invoice')
],
], # end of combobox "Workflow"
bin/mozilla/is.pl
t8('Reclamation'),
submit => ['#form', { action => "sales_reclamation" }], # can't call Reclamation directly
disabled => !$form->{id} ? t8('This invoice has not been posted yet.') : undef,
only_if => ($::form->{type} eq 'invoice' && !$::form->{storno}),
only_if => ($::instance_conf->get_show_sales_reclamation && $::form->{type} eq 'invoice' && !$::form->{storno}),
],
], # end of combobox "Workflow"

Auch abrufbar als: Unified diff