Balance general y reportes financieros
No hay deudores registrados
| Casa | Propietario | Meses Adeudados | Total Debe | ||
|---|---|---|---|---|---|
| = $debtor['house_number'] ?> | = htmlspecialchars($debtor['owner_name'] ?? '-') ?> |
|
$= number_format($debtor['total_due'], 2) ?> | ||
| TOTAL GENERAL: | $= number_format($waterDebtors['total_due'], 2) ?> | ||||
| Casa | Propietario | Monto Esperado | Pagado | Adeuda |
|---|---|---|---|---|
| = $house['house_number'] ?> | = htmlspecialchars($house['owner_name'] ?? '-') ?> | $= number_format($house['expected'], 2) ?> | $= number_format($house['paid'], 2) ?> | $= number_format($house['due'], 2) ?> |
| Total: | $= number_format($concept['total_due'], 2) ?> | |||
| Casa | Propietario | Monto Pagado | Fecha de Pago |
|---|---|---|---|
| = $payment['house_number'] ?> | = htmlspecialchars($payment['owner_name'] ?? '-') ?> | = $payment['amount'] > 0 ? '$' . number_format($payment['amount'], 2) : '-' ?> | = $payment['payment_date'] ? date('d/m/Y', strtotime($payment['payment_date'])) : '-' ?> |
| Total Recaudado: | $= number_format($status['total_collected'], 2) ?> | ||
No hay gastos registrados
| Categoría | Monto |
|---|---|
| = htmlspecialchars($cat['category'] ?? 'Sin categoría') ?> | $= number_format($cat['total'], 2) ?> |
No hay conceptos especiales registrados para el año seleccionado.
| Concepto | Esperado | Recaudado | Pendiente | Gastos Asociados | Balance | ||
|---|---|---|---|---|---|---|---|
| = htmlspecialchars($cd['concept']['name']) ?> = htmlspecialchars($cd['concept']['description']) ?> | $= number_format($cd['expected'], 2) ?> | $= number_format($cd['collected'], 2) ?> | $= number_format($cd['pending'], 2) ?> | $= number_format($cd['expenses'], 2) ?> | $= number_format($cd['balance'], 2) ?> | - | |
| TOTALES: | $= number_format($conceptDetails['totals']['expected'], 2) ?> | $= number_format($conceptDetails['totals']['collected'], 2) ?> | $= number_format($conceptDetails['totals']['pending'], 2) ?> | $= number_format($conceptDetails['totals']['expenses'], 2) ?> | $= number_format($conceptDetails['totals']['balance'], 2) ?> | - | |