Revision 8d56833f
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
908 | 908 |
# change form type |
909 | 909 |
$::form->{type} = $destination_type; |
910 | 910 |
$self->type($self->init_type); |
911 |
$self->type_data($self->init_type_data); |
|
911 | 912 |
$self->cv ($self->init_cv); |
912 | 913 |
$self->check_auth; |
913 | 914 |
|
... | ... | |
2343 | 2344 |
warn_on_reqdate => $::instance_conf->get_order_warn_no_deliverydate }, |
2344 | 2345 |
], |
2345 | 2346 |
checks => [ @req_trans_cost_art, @req_cusordnumber ], |
2346 |
only_if => (any { $self->type eq $_ } (purchase_order_type())),
|
|
2347 |
only_if => (any { $self->type eq $_ } (PURCHASE_ORDER_TYPE())),
|
|
2347 | 2348 |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef, |
2348 | 2349 |
], |
2349 | 2350 |
action => [ |
Auch abrufbar als: Unified diff
Model::Record: Order: Anpassen nach Rebase