<link rel="stylesheet" type="text/css" href="<?= Yii::app()->request->baseUrl; ?>/css/pdf.css" />
<?php //echo "<pre>";print_r($datos_aportes[0]->idAsociado->cedula);exit; ?>
<table class="tabla-datos" bordercolor="#000" border="1" width="100%">
  <thead>
    <tr>
      <th colspan="6" class="titulo"><span><b>Aportantes activos</b></span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
        <th width="15%" style="border-left: 0 solid #000;">C&eacute;dula</th>
        <th width="25%">Nombres y apellidos</th>
        <th width="20%">Deuda patrono</th>
        <th width="15%">Deuda asociado</th>
        <th width="15%">Aporte pendiente</th>
        <th width="15%">Fecha del aporte</th>
    </tr>

    <?php foreach ($datos_aportes as $key => $value): ?>        
    <tr>
      <td><span><?= $value['cedula']; ?></span></td>
      <td><span><?= $value['nombres'] ?></span></td>
      <td align="right"><span>Bs. <?= number_format($value['deuda_actual_patrono'], 2, ',', '.'); ?></span></td>
      <td align="right"><span>Bs. <?= number_format($value['deuda_actual_socio'], 2, ',', '.'); ?></span></td>
      <td align="right"><span>Bs. <?= number_format($value['aporte_por_pagar'], 2, ',', '.'); ?></span></td>
      <td align="center"><span><?= Yii::app()->format->date($value['fecha_aporte']) ?></span></td>
    </tr>
    <?php endforeach ?>

  </tbody>
</table>
