'tglkeluar', 'pphditanggungperusahaan', 'no_fingerprint', 'karyawan_aktif', ), ));*/ ?> <legend><h1><strong>Riwayat karyawan</strong></h1></legend> <table style="width:100%;margin:0px;" class="mws-table"> <tr> <td> <table style="width:100%;margin:0px;" class="mws-table"> <tr> <td rowspan="7" align="center" width="20%"> <img src="<?php echo Params::urlKaryawanThumbsDirectory() . $model->photo_karyawan; ?> " width="250" height=200" > </td> </tr> <tr> <td width="20%"> <?php echo CHtml::label($model->getAttributeLabel('jenisidentitas'), $model->getAttributeLabel('jenisidentitas')); ?> </td> <td width="30%"> <?php echo CHtml::label($model->jenisidentitas, $model->jenisidentitas); ?>
<?php $this->beginWidget('zii.widgets.jui.CJuiDialog', array('id' => 'dialogKaryawan', 'options' => array('title' => 'Data Karyawan', 'autoOpen' => false, 'modal' => true, 'width' => 900, 'height' => 600, 'resizable' => false))); $modsKaryawan = new KaryawanM(); $modsKaryawan->unsetAttributes(); if (isset($_GET['KaryawanM'])) { $modsKaryawan->attributes = $_GET['KaryawanM']; } $this->widget('zii.widgets.grid.CGridView', array('id' => 'pengeluran-grid', 'dataProvider' => $modsKaryawan->search(), 'filter' => $modsKaryawan, 'template' => "{pager}{summary}\n{items}", 'columns' => array(array('header' => 'Pilih', 'type' => 'raw', 'value' => 'CHtml::Link("<i class=\\"mws-ic-16 ic-accept\\"></i>","", array( "class"=>"mws-ic-16 ic-accept", "id" => "selectKaryawan", "href"=>"", "onClick" => " \\$(\\"#' . CHtml::activeId($model, 'no_fingerprint') . '\\").val(\\"$data->no_fingerprint\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'nomorindukkaryawan') . '\\").val(\\"$data->nomorindukkaryawan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'gelardepan') . '\\").val(\\"$data->gelardepan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'nama_karyawan') . '\\").val(\\"$data->nama_karyawan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'gelarbelakang') . '\\").val(\\"$data->gelarbelakang\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'jeniskelamin') . '\\").val(\\"$data->jeniskelamin\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'tempatlahir_karyawan') . '\\").val(\\"$data->tempatlahir_karyawan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'tgllahir_karyawan') . '\\").val(\\"$data->tgllahir_karyawan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'statusperkawinan') . '\\").val(\\"$data->statusperkawinan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'nomobile_karyawan') . '\\").val(\\"$data->nomobile_karyawan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'notelp_karyawan') . '\\").val(\\"$data->notelp_karyawan\\"); \\$(\\"#' . CHtml::activeId($modKaryawan, 'agama') . '\\").val(\\"$data->agama\\"); \\$(\\"#' . CHtml::activeId($model, 'karyawan_id') . '\\").val(\\"$data->karyawan_id\\"); \\$(\\"#photo_karyawan\\").attr(\\"src\\", \\"' . Params::urlKaryawanThumbsDirectory() . 'kecil_$data->photo_karyawan\\"); \\$(\\"#dialogKaryawan\\").dialog(\\"close\\");return false;" ))'), array('header' => 'NIP', 'name' => 'no_fingerprint'), array('name' => 'nama_karyawan'), array('header' => 'Jenis Kelamin', 'name' => 'jeniskelamin')), 'afterAjaxUpdate' => 'function(id, data){jQuery(\'' . Params::TOOLTIP_SELECTOR . '\').tooltip({"placement":"' . Params::TOOLTIP_PLACEMENT . '"});}')); $this->endWidget();