This commit is contained in:
Adrian Hopek
2022-03-29 15:13:10 +02:00
parent 93f0151b14
commit 3c43f6814d
28 changed files with 176 additions and 144 deletions

View File

@@ -88,7 +88,7 @@ class UserVacationStatsRetriever
$limit = $user->vacationLimits()
->where("year_period_id", $yearPeriod->id)
->first()
->days;
?->days;
return $limit ?? 0;
}