Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $lLis_per=arrayHelper::map(\app\models\Ticprobo::find()->asArray()->all(),'programa','periodo');
- $lLis_per=array('D'=>'Diario','S'=>'semanal','M'=>'Mensual');
- $lLis_sem=array('1'=>'Primera Semana','2'=>'Segunda Semana','3'=>'Tercera Semana','4'=>'Cuarta Semana');
- $lLis_dia=array(1=>'Lunes',2=>'Martes',3=>'Miercoles',4=>'Jueves',5=>'Viernes')
- ?>
- <?= $form->field($model, 'periodo')->dropDownList($lLis_per,[
- 'prompt'=>'- Elija un perido -',
- 'class' =>'col-lg-5', 'onChange'=>'inicio()','id'=>'periodo'
- ])
- ?>
- <div class="form-group">
- <?php $lLis_est = [true => 'Activo', false => 'Inactivo']?>
- <?= $form->field($model, 'estado')->radioList($lLis_est, array('class'=>'form-control'))?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement