|
|
|
|
@ -120,7 +120,7 @@ $form = new FormValidator('workflow', 'post', api_get_self().'?'.$params); |
|
|
|
|
$options = api_get_user_roles(); |
|
|
|
|
$options[0] = get_lang('SelectAnOption'); |
|
|
|
|
ksort($options); |
|
|
|
|
$form->addElement('select', 'status', get_lang('SelectStatus'), $options, array('onclick' => 'changeStatus(this)')); |
|
|
|
|
$form->addElement('select', 'status', get_lang('SelectRole'), $options, array('onclick' => 'changeStatus(this)')); |
|
|
|
|
|
|
|
|
|
$checks = $app['orm.em']->getRepository('Entity\ExtraFieldOptionRelFieldOption')->findBy(array('fieldId' => $field_id, 'roleId' => $roleId)); |
|
|
|
|
$includedFields = array(); |
|
|
|
|
|