FIX The break of option in setup page was not working correctly
This commit is contained in:
parent
15310951b0
commit
36a9ac414d
@ -79,7 +79,7 @@ $workflowcodes = array(
|
|||||||
'picto'=>'ticket'
|
'picto'=>'ticket'
|
||||||
),
|
),
|
||||||
|
|
||||||
'separator1'=>array('family'=>'separator', 'position'=>25, 'title'=>''),
|
'separator1'=>array('family'=>'separator', 'position'=>25, 'title'=>'', 'enabled'=>((isModEnabled("propal") && isModEnabled('commande')) || (isModEnabled('commande') && isModEnabled('facture')) || (isModEnabled('ticket') && isModEnabled('ficheinter')))),
|
||||||
|
|
||||||
// Automatic classification of proposal
|
// Automatic classification of proposal
|
||||||
'WORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL'=>array(
|
'WORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL'=>array(
|
||||||
@ -118,8 +118,6 @@ $workflowcodes = array(
|
|||||||
'warning'=>''
|
'warning'=>''
|
||||||
), // For this option, if module invoice is disabled, it does not exists, so "Classify billed" for order must be done manually from order card.
|
), // For this option, if module invoice is disabled, it does not exists, so "Classify billed" for order must be done manually from order card.
|
||||||
|
|
||||||
'separator2'=>array('family'=>'separator', 'position'=>50),
|
|
||||||
|
|
||||||
// Automatic classification supplier proposal
|
// Automatic classification supplier proposal
|
||||||
'WORKFLOW_ORDER_CLASSIFY_BILLED_SUPPLIER_PROPOSAL'=>array(
|
'WORKFLOW_ORDER_CLASSIFY_BILLED_SUPPLIER_PROPOSAL'=>array(
|
||||||
'family'=>'classify_supplier_proposal',
|
'family'=>'classify_supplier_proposal',
|
||||||
@ -170,17 +168,19 @@ $workflowcodes = array(
|
|||||||
'picto' => 'shipment'
|
'picto' => 'shipment'
|
||||||
),
|
),
|
||||||
|
|
||||||
|
'separator2'=>array('family'=>'separator', 'position'=>400, 'enabled' => (isModEnabled('ticket') && isModEnabled('contract'))),
|
||||||
|
|
||||||
// Automatic link ticket -> contract
|
// Automatic link ticket -> contract
|
||||||
'WORKFLOW_TICKET_LINK_CONTRACT' => array(
|
'WORKFLOW_TICKET_LINK_CONTRACT' => array(
|
||||||
'family' => 'link_ticket',
|
'family' => 'link_ticket',
|
||||||
'position' => 75,
|
'position' => 500,
|
||||||
'enabled' => isModEnabled('ticket') && !empty($conf->contract->enabled),
|
'enabled' => (isModEnabled('ticket') && isModEnabled('contract')),
|
||||||
'picto' => 'ticket'
|
'picto' => 'ticket'
|
||||||
),
|
),
|
||||||
'WORKFLOW_TICKET_USE_PARENT_COMPANY_CONTRACTS' => array(
|
'WORKFLOW_TICKET_USE_PARENT_COMPANY_CONTRACTS' => array(
|
||||||
'family' => 'link_ticket',
|
'family' => 'link_ticket',
|
||||||
'position' => 76,
|
'position' => 501,
|
||||||
'enabled' => isModEnabled('ticket') && !empty($conf->contract->enabled),
|
'enabled' => (isModEnabled('ticket') && isModEnabled('contract')),
|
||||||
'picto' => 'ticket'
|
'picto' => 'ticket'
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user