* #120 - wip * #120 - add icon to home office * #120 - wip * #120 - wip * #120 - wip * #120 - wip * #120 - wip * #120 - ui fixes * #120 - fix * #120 - fix * #120 - fix * #120 - fix * #120 - translation fix * #120 - fix Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl>
This commit is contained in:
@@ -23,10 +23,12 @@ class WaitForAdminApprovalAction
|
||||
{
|
||||
$this->stateManager->waitForAdministrative($vacationRequest);
|
||||
|
||||
$this->waitForAdminApprovers($vacationRequest);
|
||||
if ($this->configRetriever->isVacation($vacationRequest->type)) {
|
||||
$this->notifyAdminApprovers($vacationRequest);
|
||||
}
|
||||
}
|
||||
|
||||
protected function waitForAdminApprovers(VacationRequest $vacationRequest): void
|
||||
protected function notifyAdminApprovers(VacationRequest $vacationRequest): void
|
||||
{
|
||||
$users = User::query()
|
||||
->whereIn("role", [Role::AdministrativeApprover, Role::Administrator])
|
||||
|
Reference in New Issue
Block a user