echo $form->labelEx($model, 'notelp_karyawan'); ?> <div class="mws-form-item "> <?php echo $form->textField($model, 'notelp_karyawan', array('size' => 15, 'maxlength' => 50)); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($model, 'warganegara_karyawan'); ?> <div class="mws-form-item "> <?php echo $form->dropDownList($model, 'warganegara_karyawan', CHtml::listData(Params::getLookup(Params::WARGANEGARA), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:120px;')); ?> </div> </div> <div class="mws-form-row"> <?php $form->labelEx($model, 'kategorikaryawan'); ?> <div class="mws-form-item "> <?php $form->textField($model, 'kategorikaryawan', array('size' => 15, 'maxlength' => 10)); ?> </div> </div>
<?php echo $form->labelEx($modelp, 'nilai_ipk'); ?> <div class="mws-form-item "> <?php echo $form->textField($modelp, 'nilai_ipk', array('maxlength' => 50, 'style' => 'width:130px;', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($modelp, 'gradelulus'); ?> <div class="mws-form-item "> <?php echo $form->dropDownList($modelp, 'gradelulus', CHtml::listData(Params::getLookup(Params::GRADE), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:160px;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($modelp, 'keterangan'); ?> <div class="mws-form-item "> <?php echo $form->textArea($modelp, 'keterangan', array('rows' => 6, 'cols' => 50, 'style' => 'width:180px;', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div> </td> </tr>
?> <div class="mws-form-item "> <?php //echo $form->dropDownList($model,'kabupatenkota_id', CHtml::listData(KKabupatenkotaM::model()->findAll(), 'kabupatenkota_id', 'kabupatenkota_nama'),array('empty'=>'','style'=>'width:150px','empty'=>'--Pilih--')); echo $form->dropDownList($model, 'kabupatenkota_id', CHtml::listData(KPropinsiM::model()->getKabupatenItems($model->propinsi_id), 'kabupatenkota_id', 'kabupatenkota_nama'), array('style' => 'width:120px', 'empty' => '-- Pilih --', 'onkeypress' => "return \$(this).focusNextInputField(event)", 'ajax' => array('type' => 'POST'))); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($model, 'warganegara_pelamar'); ?> <div class="mws-form-item "> <?php echo $form->dropDownList($model, 'warganegara_pelamar', CHtml::listData(Params::getLookup(Params::WARGANEGARA), 'lookup_nama', 'lookup_nama'), array('empty' => '--Pilih--', 'style' => 'width:100px', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($model, 'departement_id'); ?> <div class="mws-form-item "> <?php echo $form->dropDownList($model, 'departement_id', CHtml::listData(KDepartementM::model()->findAll(), 'departement_id', 'departement_nama'), array('empty' => '', 'style' => 'width:150px', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div>
echo $form->labelEx($model, 'npwp'); ?> <div class="mws-form-item "> <?php echo $form->textField($model, 'npwp', array('onKeyUp' => 'checkInput(this);', 'maxlength' => 50, 'style' => 'width:180px', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($model, 'golongandarah'); ?> <div class="mws-form-item "> <?php echo $form->dropDownList($model, 'gelardepan', CHtml::listData(Params::getLookup(Params::GOLONGANDARAH), 'lookup_nama', 'lookup_nama'), array('empty' => '--Pilih--', 'style' => 'width:100px', 'onkeypress' => "return \$(this).focusNextInputField(event)")); ?> </div> </div> <div class="mws-form-row"> <?php echo $form->labelEx($model, 'rhesus'); ?> <div class="mws-form-item "> <?php //echo $form->dropDownList($model,'gelardepan', CHtml::listData(Params::getLookup(Params::RHESUS), 'lookup_nama', 'lookup_nama'),array('empty'=>'')); ?> <table> <tr> <?php