This commit is contained in:
Adrian Hopek
2022-02-04 08:43:12 +01:00
parent 47288917a2
commit 79d86b2491
9 changed files with 918 additions and 958 deletions

View File

@@ -64,19 +64,4 @@ class HolidayController extends Controller
->route("holidays.index")
->with("success", __("Holiday has been deleted"));
}
public function showCalendar(): Response
{
$users = User::query()
->withTrashed()
->orderBy("last_name")
->orderBy("first_name")
->paginate()
->withQueryString();
return inertia("Holidays/Calendar", [
"users" => UserResource::collection($users),
]);
}
}