<?php
$conciliacion = new RecuperadoPorConciliacion($model);
$defincion = new RecuperadoPorDefinicion($model);
?>
<table class='table table-bordered table-striped table-hover table-condensed'>
    <tr>
        <th colspan='2'>Recuperado por conciliación</th>
    </tr>
    <tr>
        <td>Capital recuperado</td>
        <td style='text-align: right;'><?= $conciliacion->datos('capital', true) ?></td>
    </tr>
    <tr>
        <td>Interes recuperado</td>
        <td style='text-align: right;'><?= $conciliacion->datos('interes', true) ?></td>
    </tr>
    <tr>
        <td>Total recuperado por conciliación</td>
        <td style='text-align: right;' id="recuperado_x_conciliacion" data-monto="<?= $conciliacion->datos('total') ?>"><?= $conciliacion->datos('total', true) ?></td>
    </tr>
    <tr>
        <th colspan='2'>Recuperado por definición</th>
    </tr>
    <tr>
        <td>Cuotas no asociado</td>
        <td style='text-align: right;'><?= $defincion->datos('no_asociado', true) ?></td>
    </tr>
    <tr>
        <td>Cuotas reembolso</td>
        <td style='text-align: right;'><?= $defincion->datos('reembolso', true) ?></td>
    </tr>
    <tr>
        <td>Cuotas asignación de haberes</td>
        <td style='text-align: right;'><?= $defincion->datos('asignacion', true) ?></td>
    </tr>
    <tr>
        <td>Cuotas remanente de cuota</td>
        <td style='text-align: right;'><?= $defincion->datos('remanente', true) ?></td>
    </tr>
    <tr>
        <td>Total recuperado por definición</td>
        <td style='text-align: right;'><?= $defincion->datos('total', true) ?></td>
    </tr>
    <tr>
        <td>Total nómina conciliada</td>
        <td style='text-align: right;'><?= Yii::app()->format->number($conciliacion->datos('total') + $defincion->datos('total')) ?></td>
    </tr>
</table>
