This commit is contained in:
2026-03-28 18:55:45 +01:00
parent 28b8a6d49a
commit 3a8f58ef39
+1 -1
View File
@@ -38,7 +38,7 @@ $nextConfig = $nextConfigJson ? json_decode($nextConfigJson, true) : null;
if ($nextConfig && !empty($nextConfig['start_date'])) {
$customEndDate = date('Y-m-d', strtotime($nextConfig['start_date'] . ' -1 day'));
} else {
$customEndDate = date('Y-m-t', strtotime("$currentYear-$currentMonth-01"));
$customEndDate = date('Y-m-d', strtotime($customStartDate . ' +1 month -1 day'));
}
// A. AJOUT CATÉGORIE TEMPORAIRE MANUELLE