Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?= $form->field($model, 'employee_id')->dropDownlist(
- ArrayHelper::map(Employee::find()->all(), 'id', 'employee_name'),
- [
- 'prompt' => 'Select Employee ID',
- 'style' => 'width:200px'
- ]); ?>
- Employee::find([
- 'employee_status' => 'Available'
- ])->all();
Add Comment
Please, Sign In to add comment