mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-11 03:48:40 +00:00
autofixes
This commit is contained in:
parent
a8d5939460
commit
e90d6f8e90
|
|
@ -5,7 +5,7 @@ return [
|
|||
0 => [
|
||||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\TimerecordingController:viewDashboard',
|
||||
'verb' => 1,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => 'HumanResourceTimeRecording',
|
||||
'type' => 2,
|
||||
|
|
@ -17,7 +17,7 @@ return [
|
|||
0 => [
|
||||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\TimerecordingController:viewDashboard',
|
||||
'verb' => 1,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => 'HumanResourceTimeRecording',
|
||||
'type' => 2,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ return [
|
|||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\ApiController:apiSessionCreate',
|
||||
'verb' => RouteVerb::PUT,
|
||||
'csrf' => true,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => ApiController::NAME,
|
||||
'type' => PermissionType::CREATE,
|
||||
|
|
@ -36,7 +36,7 @@ return [
|
|||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\ApiController:apiSessionElementCreate',
|
||||
'verb' => RouteVerb::PUT,
|
||||
'csrf' => true,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => ApiController::NAME,
|
||||
'type' => PermissionType::CREATE,
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ return [
|
|||
[
|
||||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => BackendController::NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
@ -34,7 +34,7 @@ return [
|
|||
[
|
||||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewPrivateDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => BackendController::NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
@ -46,7 +46,7 @@ return [
|
|||
[
|
||||
'dest' => '\Modules\HumanResourceTimeRecording\Controller\BackendController:viewPrivateSession',
|
||||
'verb' => RouteVerb::GET,
|
||||
'active' => true,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => BackendController::NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ class Session implements \JsonSerializable
|
|||
\usort($this->sessionElements, [$this, 'compareSessionElementTimestamps']);
|
||||
|
||||
$start = null;
|
||||
$end = null;
|
||||
$end = null;
|
||||
|
||||
foreach ($this->sessionElements as $e) {
|
||||
if ($e->status === ClockingStatus::START
|
||||
|
|
@ -125,7 +125,7 @@ class Session implements \JsonSerializable
|
|||
}
|
||||
|
||||
$this->start = $start;
|
||||
$this->end = $end;
|
||||
$this->end = $end;
|
||||
|
||||
$busyTime = 0;
|
||||
$lastStart = $this->start;
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ return ['Navigation' => [
|
|||
'List' => 'Liste',
|
||||
'Stats' => 'Statistiken',
|
||||
'TimeRecording' => 'Zeitaufnahme',
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Dashboard' => 'Dashboard',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ return ['Navigation' => [
|
|||
'List' => 'List',
|
||||
'Stats' => 'Stats',
|
||||
'TimeRecording' => 'Time Recording',
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Dashboard' => 'Dashboard',
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user