#23 - collective editing vacation days #26

Merged
Baakoma merged 11 commits from #23-collective-editing-vacation-days into main 2022-01-24 11:28:00 +01:00
Showing only changes of commit 03af084c04 - Show all commits

View File

@@ -20,7 +20,7 @@ class YearPeriodObserver
$users = User::all(); $users = User::all();
foreach ($users as $user) { foreach ($users as $user) {
$yearPeriod->vacationLimits()->updateOrCreate([ $yearPeriod->vacationLimits()->create([
"user_id" => $user->id, "user_id" => $user->id,
]); ]);
} }