</thead> <tbody> <?php foreach ($productos['data'] as $producto) { ?> <tr> <td><?php echo $producto['nombre']; ?> </td> <td><?php echo $producto['categoria']; ?> </td> <td style="text-align: right"><?php echo misc::number_format($producto['precio']); ?> Bsf.</td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td align="right" style="text-align: right" colspan="3">Total <b><?php echo Misc::number_format($dato['monto']); ?> Bsf.</b></td> </tr> </tfoot>
<?php if ($registro['status'] == 'Cobrado') { $monto_cobrado += $registro['monto']; $cuotas_cobradas++; } else { $monto_pendiente += $registro['monto']; $cuotas_pendientes++; } ?> <tr> <td><?php echo $registro['id']; ?> </td> <td><?php echo misc::number_format($registro['monto']); ?> Bsf.</td> <td><span class="label <?php switch ($registro['status']) { case 'Rechazado': echo 'important'; break; case 'Pendiente': echo 'warning'; break; default: echo 'success'; break; } ?>