| Casa | Estado |
= $period?> $ = number_format($amountPerHouse, 2)?> |
Total |
|---|---|---|---|
| = $house['number']?> | = $house['status'] == 'activa' ? 'Activa' : 'Deshabitada'?> | 0) { if ($expected > 0 && $amount >= $expected) { $bg_color = '#d4edda'; // Verde (paid) } else { $bg_color = '#fff3cd'; // Amarillo (partial) } } else { if ($expected > 0) { $bg_color = '#f8d7da'; // Rojo (pending) } elseif ($house['status'] == 'deshabitada') { $bg_color = '#e2e3e5'; // Gris (inactive) } } ?>= $amount > 0 ? '$' . number_format($amount, 2) : '-'?> | $ = number_format($houseTotal, 2)?> |
| TOTALES: | $ = number_format($periodTotals[$period], 2)?> | $ = number_format($grandTotal, 2)?> | |