<?php
$this->breadcrumbs=array(
	'Aportantes Excuidoses'=>array('index'),
	$model->id=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
	array('label'=>'List AportantesExcuidos','url'=>array('index')),
	array('label'=>'Create AportantesExcuidos','url'=>array('create')),
	array('label'=>'View AportantesExcuidos','url'=>array('view','id'=>$model->id)),
	array('label'=>'Manage AportantesExcuidos','url'=>array('admin')),
);
?>

<h1>Actualizar Estatus <?php echo $model->id; ?></h1>
<?php if($planillas):?>
<fieldset>
    <legend>Datos asociados a la Cédula:<?php echo $model->cedula;?> </legend>
<table class="table table-condensed">
    <tr>
        <th>N°</th>
        <th>Nombre</th>
        <th>Apellido</th>
        <th>Unidad</th>
        <th>Fecha de Ingreso</th>
        <th>Estatus</th>    
    </tr>
 <?php foreach ($planillas as $key=>$planilla):?> 
    
    <tr class="<?php echo $planilla->colorEstatus();?>">
        <td><?php echo $key+1; ?></td>
        <td><?php echo $planilla->nombre; ?></td>
        <td><?php echo $planilla->apellidos; ?></td>
        <td><?php echo $planilla->unidad->descripcion; ?></td>
        <td><?php echo $planilla->fechaingreso; ?></td>
        <td><?php echo $planilla->idEstatus->nombre_estatus; ?></td>
    </tr>
    
 <?php endforeach; ?>   
    
    
</table>
</fieldset>
<?php endif;?>
<?php echo $this->renderPartial('_form',array('model'=>$model)); ?>