Exemplo n.º 1
0
 public function actionPendidikanKaryawan($id)
 {
     $this->layout = '//layouts/column2';
     $this->setUserMenu();
     $indexTab = 0;
     $pendidikan = KPendidikanM::model()->findByAttributes(array('karyawan_id' => $id));
     $this->render('_formPendidikan', array('id' => $id, 'indexTab' => $indexTab, 'pendidikan' => $pendidikan));
 }
Exemplo n.º 2
0
                                    <?php 
echo $form->labelEx($model, 'agama');
?>
                                 <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'agama', CHtml::listData(Params::getLookup(Params::AGAMA), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>
                             <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'pendidikan_id');
?>
                                 <div class="mws-form-item ">                                             
                                    <?php 
echo $form->dropDownList($model, 'pendidikan_id', CHtml::listData(KPendidikanM::model()->findAll(), 'pendidikan_id', 'pendidikan_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>      

                             </td>
                            <td>   
                             <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'statusperkawinan');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'statusperkawinan', CHtml::listData(Params::getLookup(Params::STATUSPERKAWINAN), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
Exemplo n.º 3
0
echo $form->labelEx($model, 'agama');
?>
                                    <div class="mws-form-item ">                                            
                                <?php 
echo $form->dropDownList($model, 'agama', CHtml::listData(Params::getLookup(Params::AGAMA), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:150px', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                    </div>
                            </div>

                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'pendidikan_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'pendidikan_id', CHtml::listData(KPendidikanM::model()->findAll(), 'pendidikan_id', 'pendidikan_nama'), array('empty' => '', 'style' => 'width:150px', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>
                                        
                           <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'jabatan_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'jabatan_id', CHtml::listData(KJabatanM::model()->findAll(), 'jabatan_id', 'jabatan_nama'), array('empty' => '', 'style' => 'width:130px', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>
                             <div class="mws-form-row">