#41 - email notifications #54

Merged
EwelinaLasowy merged 44 commits from #41-email-notifications into main 2022-02-21 13:19:59 +01:00
Showing only changes of commit bbbf1791ff - Show all commits

View File

@@ -87,7 +87,8 @@ class VacationRequestController extends Controller
foreach ($days as $day) {
$vacationRequest->vacations()->create([
"date" => $day,
"user_id" => $vacationRequest->user_id,
"user_id" => $vacationRequest->user->id,
"year_period_id" => $vacationRequest->yearPeriod->id,
]);
}