= $form->field($model, 'id_user')->dropDownList($userModule->populateUserDropdownList(), ['class' => 'select2']); ?>
OU
= $form->field($model, 'username')->textInput() ?>
= $form->field($model, 'id_producer')->hiddenInput() ?>
= $form->field($model, 'id_point_sale')->dropDownList(ArrayHelper::map($pointSaleModule->findPointSales(), 'id', function($model, $defaultValue) {
return $model['name'];
}), ['prompt' => '--','class' => 'form-control user-id']) ?>
= $form->field($model, 'date_begin') ?>
= $form->field($model, 'date_end')->hint('Laisser vide pour une durée indéterminée') ?>