<?php
$this->breadcrumbs=array(
	'Hrd Mpegawais'=>array('index'),
	$model->nip,
);

$this->menu=array(
array('label'=>'List HrdMPegawai','url'=>array('index')),
array('label'=>'Create HrdMPegawai','url'=>array('create')),
array('label'=>'Update HrdMPegawai','url'=>array('update','id'=>$model->nip)),
array('label'=>'Delete HrdMPegawai','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->nip),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage HrdMPegawai','url'=>array('admin')),
);
?>

<h1>Lihat Data Master Pegawai #<?php echo $model->nip; ?></h1>
<?php
	$model_detail = HrdDPegawai::model()->findByAttributes(array('nip'=>$model->nip));
	$model_all = new PegawaiFormModel();
	$model_all->nip = $model->nip;
	$model_all->nama = $model->nama;
	$model_all->alias = $model->alias;
	$model_all->jenis_kelamin = $model->jenis_kelamin;
	$model_all->tempat_lahir = $model->tempat_lahir;
	$model_all->t_lahir = $model->t_lahir;
	$model_all->status_kawin = $model->status_kawin;
	$model_all->d_awal_kerja = $model->d_awal_kerja;
	$model_all->status_now = $model->status_now;
	$model_all->grup_awal = $model->grup_awal;
	$model_all->grup_now = $model->grup_now;
	$model_all->unit_kerja = $model->unit_kerja;
	$model_all->ukuran_baju = $model->ukuran_baju;
	$model_all->status_kepeg = $model->status_kepeg;
	$model_all->user_id= $model->user_id;
	$model_all->pendidikan_awal = $model->pendidikan_awal;
	$model_all->pendidikan_now = $model->pendidikan_now;
	$model_all->golongan_awal = $model->golongan_awal;
	$model_all->golongan_now = $model->golongan_now;
	$model_all->prefix_gelar = $model->prefix_gelar;
	$model_all->suffix_gelar = $model->suffix_gelar;
	$model_all->no_ktp = $model_detail->no_ktp;
	$model_all->d_akhir_ktp = $model_detail->d_akhir_ktp;
	$model_all->alamat_ktp = $model_detail->alamat_ktp;
	$model_all->no_hp = $model_detail->no_hp;
	$model_all->no_tlp_rumah = $model_detail->no_tlp_rumah;
?>
<?php $this->widget('booster.widgets.TbDetailView',array(
'data'=>$model_all,
'attributes'=>array(
		'nip',
		'nama',
		'alias',
		'jenis_kelamin',
		'tempat_lahir',
		't_lahir',
		'status_kawin',
		'd_awal_kerja',
		'status_now',
		'grup_awal',
		'grup_now',
		'unit_kerja',
		'ukuran_baju',
		'status_kepeg',
		'user_id',
		'pendidikan_awal',
		'pendidikan_now',
		'golongan_awal',
		'golongan_now',
		'prefix_gelar',
		'suffix_gelar',
		'no_ktp',
		'd_akhir_ktp',
		'alamat_ktp',
		'no_hp',
		'no_tlp_rumah',
),
)); ?>
