Revision c7d07463
Von Bernd Bleßmann vor 3 Monaten hinzugefügt
SL/DB/DeliveryOrder/TypeData.pm | ||
---|---|---|
31 | 31 |
}, |
32 | 32 |
show_menu => { |
33 | 33 |
workflow_invoice => 1, |
34 |
workflow_reclamation => 1,
|
|
34 |
workflow_reclamation => sub { $::instance_conf->get_show_sales_reclamation },
|
|
35 | 35 |
delete => sub { $::instance_conf->get_sales_delivery_order_show_delete }, |
36 | 36 |
}, |
37 | 37 |
properties => { |
... | ... | |
70 | 70 |
}, |
71 | 71 |
show_menu => { |
72 | 72 |
workflow_invoice => 1, |
73 |
workflow_reclamation => 1,
|
|
73 |
workflow_reclamation => sub { $::instance_conf->get_show_purchase_reclamation },
|
|
74 | 74 |
delete => sub { $::instance_conf->get_sales_delivery_order_show_delete }, |
75 | 75 |
}, |
76 | 76 |
properties => { |
SL/DB/Order/TypeData.pm | ||
---|---|---|
44 | 44 |
save_and_sales_delivery_order => 1, |
45 | 45 |
save_and_purchase_delivery_order => 0, |
46 | 46 |
save_and_supplier_delivery_order => 0, |
47 |
save_and_reclamation => 1,
|
|
47 |
save_and_reclamation => sub { $::instance_conf->get_show_sales_reclamation },
|
|
48 | 48 |
save_and_invoice_for_advance_payment => 1, |
49 | 49 |
save_and_final_invoice => 1, |
50 | 50 |
save_and_ap_transaction => 0, |
... | ... | |
98 | 98 |
save_and_sales_order_intake => 0, |
99 | 99 |
save_and_sales_order => 1, |
100 | 100 |
save_and_purchase_order => 0, |
101 |
save_and_purchase_order_confirmation => 1,
|
|
101 |
save_and_purchase_order_confirmation => sub { $::instance_conf->get_show_purchase_order_confirmation },
|
|
102 | 102 |
save_and_sales_delivery_order => 0, |
103 | 103 |
save_and_purchase_delivery_order => 1, |
104 | 104 |
save_and_supplier_delivery_order => 1, |
105 |
save_and_reclamation => 1,
|
|
105 |
save_and_reclamation => sub { $::instance_conf->get_show_purchase_reclamation },
|
|
106 | 106 |
save_and_invoice_for_advance_payment => 0, |
107 | 107 |
save_and_final_invoice => 0, |
108 | 108 |
save_and_ap_transaction => 1, |
... | ... | |
146 | 146 |
save_and_quotation => 0, |
147 | 147 |
save_and_rfq => 1, |
148 | 148 |
save_and_purchase_quotation_intake => 0, |
149 |
save_and_sales_order_intake => 1,
|
|
149 |
save_and_sales_order_intake => sub { $::instance_conf->get_show_sales_order_intake },
|
|
150 | 150 |
save_and_sales_order => 1, |
151 | 151 |
save_and_purchase_order => 0, |
152 | 152 |
save_and_purchase_order_confirmation => 0, |
... | ... | |
203 | 203 |
show_menu => { |
204 | 204 |
save_and_quotation => 1, |
205 | 205 |
save_and_rfq => 0, |
206 |
save_and_purchase_quotation_intake => 1,
|
|
206 |
save_and_purchase_quotation_intake => sub { $::instance_conf->get_show_purchase_quotation_intake },
|
|
207 | 207 |
save_and_sales_order_intake => 0, |
208 | 208 |
save_and_sales_order => 1, |
209 | 209 |
save_and_purchase_order => 1, |
... | ... | |
371 | 371 |
save_and_sales_delivery_order => 0, |
372 | 372 |
save_and_purchase_delivery_order => 1, |
373 | 373 |
save_and_supplier_delivery_order => 1, |
374 |
save_and_reclamation => 1,
|
|
374 |
save_and_reclamation => sub { $::instance_conf->get_show_purchase_reclamation },
|
|
375 | 375 |
save_and_invoice_for_advance_payment => 0, |
376 | 376 |
save_and_final_invoice => 0, |
377 | 377 |
save_and_ap_transaction => 1, |
bin/mozilla/ir.pl | ||
---|---|---|
438 | 438 |
t8('Reclamation'), |
439 | 439 |
submit => ['#form', { action => "purchase_reclamation" }], # can't call Reclamation directly |
440 | 440 |
disabled => !$form->{id} ? t8('This invoice has not been posted yet.') : undef, |
441 |
only_if => ($::form->{type} eq 'purchase_invoice')
|
|
441 |
only_if => ($::instance_conf->get_show_purchase_reclamation && $::form->{type} eq 'purchase_invoice')
|
|
442 | 442 |
], |
443 | 443 |
], # end of combobox "Workflow" |
444 | 444 |
|
bin/mozilla/is.pl | ||
---|---|---|
548 | 548 |
t8('Reclamation'), |
549 | 549 |
submit => ['#form', { action => "sales_reclamation" }], # can't call Reclamation directly |
550 | 550 |
disabled => !$form->{id} ? t8('This invoice has not been posted yet.') : undef, |
551 |
only_if => ($::form->{type} eq 'invoice' && !$::form->{storno}),
|
|
551 |
only_if => ($::instance_conf->get_show_sales_reclamation && $::form->{type} eq 'invoice' && !$::form->{storno}),
|
|
552 | 552 |
], |
553 | 553 |
], # end of combobox "Workflow" |
554 | 554 |
|
Auch abrufbar als: Unified diff
Sichtbarkeit neuer Belege: Einstellung bei Workflows berücksichtigen