From 087cdf584e3e0bc15190f74dc63279e71673015e Mon Sep 17 00:00:00 2001 From: Michal Feher Date: Fri, 12 Jul 2024 10:27:09 +0200 Subject: [PATCH] no message --- be/app/Services/Intranet/IntranetService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/app/Services/Intranet/IntranetService.php b/be/app/Services/Intranet/IntranetService.php index cf0be85..7ee7e19 100644 --- a/be/app/Services/Intranet/IntranetService.php +++ b/be/app/Services/Intranet/IntranetService.php @@ -20,7 +20,7 @@ class IntranetService $intranetVacations = Vacation::fromDate(Carbon::yesterday()->toDateString()); // toto sa pouziva pre delete starych dovoleniek. je to najstarsi datum, ktory mame v produkcnej DB. ak by sme ho tam nemali, API by nevratila stare dovolenky a povazovalo by sa to za vymazanu dovolenku a tym padom by sa to chybne odstranilo z nasej DB - $intranetVacationsFromPast = Vacation::fromDate('2023-07-27'); + $intranetVacationsFromPast = Vacation::fromDate('2023-02-08'); $dbVacations = Blocker::whereIn('type', ['vacation', 'home_office', 'free_day'])->get();