Revision aa6c0a3d
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
896 | 896 |
# change form type |
897 | 897 |
$::form->{type} = $destination_type; |
898 | 898 |
$self->type($self->init_type); |
899 |
$self->type_data($self->init_type_data); |
|
899 | 900 |
$self->cv ($self->init_cv); |
900 | 901 |
$self->check_auth; |
901 | 902 |
|
... | ... | |
2306 | 2307 |
warn_on_reqdate => $::instance_conf->get_order_warn_no_deliverydate }, |
2307 | 2308 |
], |
2308 | 2309 |
checks => [ @req_trans_cost_art, @req_cusordnumber ], |
2309 |
only_if => (any { $self->type eq $_ } (purchase_order_type())),
|
|
2310 |
only_if => (any { $self->type eq $_ } (PURCHASE_ORDER_TYPE())),
|
|
2310 | 2311 |
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.') : undef, |
2311 | 2312 |
], |
2312 | 2313 |
action => [ |
Auch abrufbar als: Unified diff
Model::Record: Order: Anpassen nach Rebase