diff --git a/budget.php b/budget.php new file mode 100644 index 0000000..60000d0 --- /dev/null +++ b/budget.php @@ -0,0 +1,55 @@ + + +
Onglet en cours de développement...
"; + } + ?> +Aucune donnée pour = htmlspecialchars($currentOwner) ?>.
+| Poste / Mois | + +
+
+ = date('M Y', strtotime($month)) ?>
+
+
+
+
+
+ |
+
+
|---|---|
| Total | + ++ = number_format($data[$month]['TOTAL_BANQUE'] ?? 0, 0, ',', ' ') ?> € + | + +
| = htmlspecialchars($cat) ?> | + +
+
+
+ - = number_format($amount, 0, ',', ' ') ?> €
+
+
+ -
+ |
+
+
| Extra | + ++ = number_format($extra, 0, ',', ' ') ?> € + | + +
| Nom | +Montant | +Type | +Jour | +État prélèvement | +Régularisation | +Actions | +
|---|---|---|---|---|---|---|
| + = htmlspecialchars($item['name']) ?> + = $item['is_estimate'] ? ' (Est.)' : '' ?> + | ++ = number_format($item['amount'], 2, ',', ' ') ?> € + | ++ + = $item['type'] ?> + + | += $item['payment_day'] ? $item['payment_day'] : '-' ?> | ++ + onclick="toggleCheck(= $item['id'] ?>, this.checked)" + title="Marquer comme payé"> + = $item['is_checked'] ? ' Payé' : ' Attente' ?> + | ++ = htmlspecialchars($item['reg_month'] ?: '-') ?> + | ++ + | +
| Total Revenus Mensuels | ++ = number_format($totalRevenusMensuels, 2, ',', ' ') ?> € | +|||||
| Total Dépenses Mensuelles | +- = number_format($totalDepensesMensuelles, 2, ',', ' ') ?> € | +|||||
| Équilibre du compte | + ++ = number_format($balance, 2, ',', ' ') ?> € / mois + | +|||||
* Note : Les frais de type "Annuel" sont affichés pour information mais ne sont pas inclus dans le calcul de l'équilibre mensuel.
+