Concentrado de pagos bimestrales por casa
| Casa | Estado |
= $period?> $ = number_format($amountPerHouse, 2)?> |
Total |
|---|---|---|---|
| = $house['number']?> | = ucfirst($house['status'])?> | 0) { if ($expected > 0 && $amount >= $expected) { $cellClass = 'paid'; // Paid } else { $cellClass = 'partial'; // Partial } $cellText = '$' . number_format($amount, 2); } else { if ($expected > 0) { $cellClass = 'pending'; // Unpaid $cellText = '-'; } else { $cellClass = ''; // No config $cellText = '-'; } // Si está deshabitada y no hay pago, gris if ($house['status'] == 'deshabitada' && $amount == 0) { $cellClass = 'inactive'; } } $isEditable = Auth::isCapturist() && $house['status'] == 'activa'; ?>> = $cellText?> | $ = number_format($houseTotal, 2)?> |
| Totales: | $ = number_format($periodTotals[$period], 2)?> | $ = number_format($grandTotal, 2)?> | |