mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-11 11:58:47 +00:00
bug and media fixes
This commit is contained in:
parent
c47176b285
commit
d67f2c0527
|
|
@ -69,7 +69,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
$employee = EmployeeMapper::getFromAccount($account);
|
||||
$sessions = SessionMapper::getSessionListForEmployee($employee->getId(), new DateTime($request->getData('start') ?? 'now'), (int) ($request->getData('session') ?? 0), 50);
|
||||
$sessions = SessionMapper::getSessionListForEmployee($employee->getId(), new \DateTime($request->getData('start') ?? 'now'), (int) ($request->getData('session') ?? 0), 50);
|
||||
$this->fillJsonResponse($request, $response, NotificationLevel::HIDDEN, '', '', $sessions);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -392,4 +392,4 @@ function phpServe() : void
|
|||
});
|
||||
}
|
||||
|
||||
phpServe();
|
||||
\phpServe();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user