<?php
/* @var $this HrdReportDutyLetterController */
/* @var $model HrdReportDutyLetter */

$this->breadcrumbs=array(
	'Hrd Report Duty Letters'=>array('index'),
	$model->report_duty_letter_id,
);

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

<h1>View Report Detail Information #<?php echo $model->report_duty_letter_id; ?></h1>

<?php $this->beginWidget('ext.coolfieldset.JCollapsibleFieldset', array(
        'legend'=>'Detail Information of Duty Letter Request',
		'collapsed'=>false,
));?>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$modelDutyLetterRequest,
        'attributes'=>array(
                'rdl_id',
		'person_in_charge',
		//'requester_id',
                array(
                       'name'=>'requester_id',
                       'value'=>$modelDutyLetterRequest->requester->name,
                ),
		'duty_category',
		'duty_concerning',
		'duty_location',
		'contactable_information',
		'depart_date',
		'return_date',
		'starting_date',
		'finishing_date',
                array(
                       'name'=>'status_id',
                       'value'=>$modelDutyLetterRequest->status->status,
                ),
		'request_date',
	),
)); ?>

<?php $this->endWidget(); ?><!-- collabsible fieldset -->

<?php echo '<BR><BR>' ?>

<?php $this->beginWidget('ext.coolfieldset.JCollapsibleFieldset', array(
        'legend'=>'Detail Information of Duty Letter',
		'collapsed'=>false,
));?>
<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'duty_letter_id',
		//'request_id',
		'duty_letter_number',
		'duty_letter_date',
		array(
                   'name'=>'signed_by',
                   'value'=>$model->employee->name,
                ),
		'depart_transport',
		'return_transport',
		'route_journey',
		'hostelry',
		'sppd_duration',
		array(
                       'name'=>'status_id',
                       'value'=>$model->status->status,
                ),
		'task_shifting',
//		'created_by',
//		'created_date',
//		'created_ip',
//		'updated_by',
//		'updated_date',
//		'updated_ip',
	),
)); ?>
<?php $this->endWidget(); ?><!-- collabsible fieldset -->

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'report_duty_letter_id',
		'duty_letter_id',
		'report_date',
		'report_file_name',
		'duty_request_id',
		'created_by',
		'created_ip',
		'created_date',
		'updated_ip',
		'updated_by',
		'updated_date',
	),
)); ?>
