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