order cat
Deploy HouseHub / deploy (push) Successful in 1s

This commit is contained in:
2026-06-21 11:25:17 +02:00
parent 041411b070
commit 506cd64a44
4 changed files with 117 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ if (isset($_FILES['csv_file']) && $_FILES['csv_file']['error'] == 0) {
// ============================================================================
// --- LECTURE DYNAMIQUE DES CATEGORIES ---
$stmtCats = $pdo->query("SELECT * FROM pf_budget_categories ORDER BY type DESC, label ASC");
$stmtCats = $pdo->query("SELECT * FROM pf_budget_categories ORDER BY type DESC, sort_order ASC, label ASC");
$dbCategories = $stmtCats->fetchAll(PDO::FETCH_ASSOC);
$categoriesConfig = [];