$form->{l_open} = $form->{l_closed} = "Y" if ($form->{open} && $form->{closed});
$form->{l_delivered} = "Y" if ($form->{delivered} && $form->{notdelivered});
$form->{l_periodic_invoices} = "Y" if ($form->{periodic_invoices_active} && $form->{periodic_invoices_inactive});
- $form->{l_edit_exp} = "Y" if (any { $form->{type} eq $_ } qw(sales_order purchase_order));
+ $form->{l_edit_exp} = "Y" if $::instance_conf->get_feature_experimental && (any { $form->{type} eq $_ } qw(sales_order purchase_order));
map { $form->{"l_${_}"} = 'Y' } qw(order_probability expected_billing_date expected_netamount) if $form->{l_order_probability_expected_billing_date};
my $attachment_basename;
'monthly' => 'monatlich',
'more' => 'mehr',
'never' => 'niemals',
+ 'new order controller' => 'Neuer Auftrags-Controller',
'next' => 'vor',
'no' => 'nein',
'no article assigned yet' => 'noch kein Artikel zugewiesen',
'monthly' => '',
'more' => '',
'never' => '',
+ 'new order controller' => '',
'next' => '',
'no' => '',
'no article assigned yet' => '',
name: Add Sales Order (experimental)
icon: sales_order_add
order: 350
- access: sales_order_edit
+ access: sales_order_edit & client/feature_experimental
params:
action: Order/add
type: sales_order
name: Add Purchase Order (experimental)
icon: purchase_order_add
order: 250
- access: purchase_order_edit
+ access: purchase_order_edit & client/feature_experimental
params:
action: Order/add
type: purchase_order