You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DivisionByZeroError: Division by zero
File "/app/Services/AbsenceService.php", line 470, in App\Services\AbsenceService::getAbsenceCount
return round($absence->start->floatDiffInHours($absence->stop) / $hoursPerDay, 2);
File "/app/Services/AbsenceService.php", line 370, in App\Services\AbsenceService::getDefaultAbsencesByTypeAndYear
$absenceCount = $this->getAbsenceCount($absence, $hoursPerDay, $absence->start->year);
File "/app/Http/Controllers/Api/v1/Employee/AbsencesOverviewController.php", line 24, in App\Http\Controllers\Api\v1\Employee\AbsencesOverviewController::overview
$this->absenceService->getDefaultAbsencesByTypeAndYear($employee)
File "/app/Http/Middleware/SeparateWithParam.php", line 12, in App\Http\Middleware\SeparateWithParam::handle
return $next($request);
File "/public/index.php", line 51
$response = $kernel->handle(
...
(46 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
Sentry Issue: CREW-TIMETRACKING-API-9Z
The text was updated successfully, but these errors were encountered: