Compare commits
48
Commits
338c3ce5e4
...
1.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9932f33c34 | ||
|
|
06128f72fc | ||
|
|
18c5c45c26 | ||
|
|
0a21c6ed35 | ||
|
|
47ed408185 | ||
|
|
0813fd637b | ||
|
|
094b50d33d | ||
|
|
3bd3e6837a | ||
|
|
4da284a0a6 | ||
|
|
084abbf42c | ||
|
|
bcc6448fa1 | ||
|
|
1fc54f4b89 | ||
|
|
d4ddd4f32c | ||
|
|
90c6ef0c53 | ||
|
|
1ebf57ac3b | ||
|
|
13554d09e0 | ||
|
|
b46f5634c8 | ||
|
|
77cfcc72b4 | ||
|
|
ea93400135 | ||
|
|
646537e19c | ||
|
|
efadeb501b | ||
|
|
cf50607f43 | ||
|
|
d133cb017b | ||
|
|
ad253a82f5 | ||
|
|
fb91d1121e | ||
|
|
e10b72e086 | ||
|
|
aae4764f5e | ||
|
|
371425f3c5 | ||
|
|
c3a1953cc9 | ||
|
|
66022e42df | ||
|
|
907ce88ed1 | ||
|
|
45650a0f9a | ||
|
|
d13fce569b | ||
|
|
fafc2a0ad5 | ||
|
|
f3ff303b93 | ||
|
|
3dd0f451fc | ||
|
|
46313cc290 | ||
|
|
65195e702e | ||
|
|
ec22f42623 | ||
|
|
b43b6382d7 | ||
|
|
12ed91a6da | ||
|
|
cc9941d1d3 | ||
|
|
2b2753e009 | ||
|
|
735b195c06 | ||
|
|
0bd8932fa1 | ||
|
|
114e31029c | ||
|
|
de0535be32 | ||
|
|
b74e9bbd69 |
+2
-1
@@ -21,7 +21,8 @@
|
|||||||
"slim/psr7": "^1.3",
|
"slim/psr7": "^1.3",
|
||||||
"php-di/slim-bridge": "^3.1.0",
|
"php-di/slim-bridge": "^3.1.0",
|
||||||
"jetbrains/phpstorm-attributes": "^1.0.0",
|
"jetbrains/phpstorm-attributes": "^1.0.0",
|
||||||
"myclabs/php-enum": "^1.8.0"
|
"myclabs/php-enum": "^1.8.0",
|
||||||
|
"ext-pdo": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpstan/phpstan": "^0.12.80",
|
"phpstan/phpstan": "^0.12.80",
|
||||||
|
|||||||
@@ -18,6 +18,15 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"Eintragungen Arbeitszeiten"
|
"Eintragungen Arbeitszeiten"
|
||||||
],
|
],
|
||||||
|
"description": "Liefert eine Liste der Einträge. Kann gefiltert werden und dadurch eine leere Liste zurückgeben",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/parameters/start-date"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/parameters/end-date"
|
||||||
|
}
|
||||||
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/components/responses/ListEntities"
|
"$ref": "#/components/responses/ListEntities"
|
||||||
@@ -259,6 +268,26 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date"
|
"format": "date"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"start-date" : {
|
||||||
|
"description": "Filtert Liste ab Datum",
|
||||||
|
"name": "start-date",
|
||||||
|
"in" : "query",
|
||||||
|
"required": false,
|
||||||
|
"schema": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"end-date" : {
|
||||||
|
"description": "Filtert Liste bis Datum",
|
||||||
|
"name": "end-date",
|
||||||
|
"in" : "query",
|
||||||
|
"required": false,
|
||||||
|
"schema": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"responses": {
|
"responses": {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ use Slim\Exception\HttpNotFoundException;
|
|||||||
use Slim\Psr7\Request;
|
use Slim\Psr7\Request;
|
||||||
use Slim\Psr7\Response;
|
use Slim\Psr7\Response;
|
||||||
use TorstenHettstedt\TimekeepingApi\Models\WorkingHours;
|
use TorstenHettstedt\TimekeepingApi\Models\WorkingHours;
|
||||||
|
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryBadWhereDataException;
|
||||||
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordAlreadyExistException;
|
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordAlreadyExistException;
|
||||||
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordNotFoundException;
|
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordNotFoundException;
|
||||||
use TorstenHettstedt\TimekeepingApi\Repositories\WorkingHoursRepository;
|
use TorstenHettstedt\TimekeepingApi\Repositories\WorkingHoursRepository;
|
||||||
@@ -50,13 +51,20 @@ class WorkingHoursController extends AbstractController
|
|||||||
* @return Response
|
* @return Response
|
||||||
*
|
*
|
||||||
* @throws HttpInternalServerErrorException
|
* @throws HttpInternalServerErrorException
|
||||||
|
* @throws HttpBadRequestException
|
||||||
* @noinspection PhpUnusedParameterInspection
|
* @noinspection PhpUnusedParameterInspection
|
||||||
*/
|
*/
|
||||||
public function browse(Request $request, Response $response, array $args): Response
|
public function browse(Request $request, Response $response, array $args): Response
|
||||||
{
|
{
|
||||||
$repository = new WorkingHoursRepository($this->databases);
|
$repository = new WorkingHoursRepository($this->databases);
|
||||||
|
$queryParams = $request->getQueryParams();
|
||||||
try {
|
try {
|
||||||
return $this->printResponse($response, $repository->findAll(), StatusCodeInterface::STATUS_OK);
|
return $this->printResponse($response, $repository->findFiltered(
|
||||||
|
$queryParams['start-date'] ?? null,
|
||||||
|
$queryParams['end-date'] ?? null
|
||||||
|
), StatusCodeInterface::STATUS_OK);
|
||||||
|
} catch (RepositoryBadWhereDataException $exception) {
|
||||||
|
throw new HttpBadRequestException($request, 'Ein Wert für das Datum im Query ist ungültig', $exception);
|
||||||
} catch (Exception $exception) {
|
} catch (Exception $exception) {
|
||||||
throw new HttpInternalServerErrorException($request, 'Der Wert für das Datum oder die Zeit ist falsch in der Datenbank', $exception);
|
throw new HttpInternalServerErrorException($request, 'Der Wert für das Datum oder die Zeit ist falsch in der Datenbank', $exception);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,12 +91,13 @@ class WorkingHoursView implements ModelInterface
|
|||||||
'overtime' => "string"
|
'overtime' => "string"
|
||||||
])] public function jsonSerialize(): array
|
])] public function jsonSerialize(): array
|
||||||
{
|
{
|
||||||
|
$formatOvertime = (($this->getOvertime()->invert === 1) ? '-' : '') . '%H:%I:%S';
|
||||||
return [
|
return [
|
||||||
'period' => $this->getPeriod()->format($this->getPeriodDesignation()->getValue()),
|
'period' => $this->getPeriod()->format($this->getPeriodDesignation()->getValue()),
|
||||||
'periodDesignation' => strtolower($this->getPeriodDesignation()->getKey()),
|
'periodDesignation' => strtolower($this->getPeriodDesignation()->getKey()),
|
||||||
'workingDays' => $this->getWorkingDays(),
|
'workingDays' => $this->getWorkingDays(),
|
||||||
'totalHours' => $this->getTotalHours()->format('%H:%I:%S'),
|
'totalHours' => $this->getTotalHours()->format('%H:%I:%S'),
|
||||||
'overtime' => $this->getOvertime()->format('%H:%I:%S')
|
'overtime' => $this->getOvertime()->format($formatOvertime)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace TorstenHettstedt\TimekeepingApi\Repositories;
|
||||||
|
|
||||||
|
|
||||||
|
class RepositoryBadWhereDataException extends RepositoryException
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -10,6 +10,7 @@ use Exception;
|
|||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use PDO;
|
use PDO;
|
||||||
use PDOException;
|
use PDOException;
|
||||||
|
use PDOStatement;
|
||||||
use TorstenHettstedt\TimekeepingApi\Models\ModelInterface;
|
use TorstenHettstedt\TimekeepingApi\Models\ModelInterface;
|
||||||
use TorstenHettstedt\TimekeepingApi\Models\WorkingHours;
|
use TorstenHettstedt\TimekeepingApi\Models\WorkingHours;
|
||||||
|
|
||||||
@@ -42,10 +43,33 @@ class WorkingHoursRepository implements RepositoryReaderInterface, RepositoryWri
|
|||||||
* @throws PDOException
|
* @throws PDOException
|
||||||
*/
|
*/
|
||||||
public function findAll(): array
|
public function findAll(): array
|
||||||
|
{
|
||||||
|
return $this->findFiltered(null, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Gibt alle vorhandenen Einträge zurück
|
||||||
|
*
|
||||||
|
* @param string|null $start
|
||||||
|
* @param string|null $end
|
||||||
|
*
|
||||||
|
* @return WorkingHours[]
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public function findFiltered(?string $start, ?string $end): array
|
||||||
{
|
{
|
||||||
$models = [];
|
$models = [];
|
||||||
$stmt = $this->database->prepare('select "Datum" as "workingDay", "Arbeitszeit" as "workingTime" from public."Arbeitszeiten" order by "Datum"');
|
$stmt = $this->buildFindFilteredStatement($start, $end);
|
||||||
|
try {
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
} catch (PDOException $exception) {
|
||||||
|
if ($exception->getCode() === '22007' || $exception->getCode() === '22008') {
|
||||||
|
throw new RepositoryBadWhereDataException($exception);
|
||||||
|
}
|
||||||
|
throw $exception;
|
||||||
|
}
|
||||||
|
|
||||||
while ($row = $stmt->fetch()) {
|
while ($row = $stmt->fetch()) {
|
||||||
$model = new WorkingHours();
|
$model = new WorkingHours();
|
||||||
$model
|
$model
|
||||||
@@ -56,6 +80,35 @@ class WorkingHoursRepository implements RepositoryReaderInterface, RepositoryWri
|
|||||||
return $models;
|
return $models;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function buildFilterString(?string $start, ?string $end): string
|
||||||
|
{
|
||||||
|
if (is_string($start) && is_string($end)) {
|
||||||
|
return 'where "Datum" >= :start AND "Datum" <= :end ';
|
||||||
|
}
|
||||||
|
if (is_string($start)) {
|
||||||
|
return 'where "Datum" >= :start ';
|
||||||
|
}
|
||||||
|
if (is_string($end)) {
|
||||||
|
return 'where "Datum" <= :end ';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function buildFindFilteredStatement(?string $start, ?string $end): ?PDOStatement
|
||||||
|
{
|
||||||
|
$query = 'select "Datum" as "workingDay", "Arbeitszeit" as "workingTime" from public."Arbeitszeiten" ';
|
||||||
|
$query .= $this->buildFilterString($start, $end);
|
||||||
|
$query .= 'order by "Datum"';
|
||||||
|
$stmt = $this->database->prepare($query);
|
||||||
|
if (is_string($start)) {
|
||||||
|
$stmt->bindParam(':start', $start);
|
||||||
|
}
|
||||||
|
if (is_string($end)) {
|
||||||
|
$stmt->bindParam(':end', $end);
|
||||||
|
}
|
||||||
|
return $stmt ?? null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gibt den Eintrag zurück, der durch die ID
|
* Gibt den Eintrag zurück, der durch die ID
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
namespace TorstenHettstedt\TimekeepingApi\Tests\Api\WorkingHours;
|
namespace TorstenHettstedt\TimekeepingApi\Tests\Api\WorkingHours;
|
||||||
|
|
||||||
use ApiTester;
|
use ApiTester;
|
||||||
|
use Codeception\Example;
|
||||||
use Codeception\Util\HttpCode;
|
use Codeception\Util\HttpCode;
|
||||||
use Helper\Api;
|
use Helper\Api;
|
||||||
|
|
||||||
@@ -22,14 +23,67 @@ class BrowseWorkingHoursCest
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ApiTester $I
|
* @param ApiTester $I
|
||||||
|
*
|
||||||
|
* @dataProvider validWorkingHoursFilterProvider
|
||||||
*/
|
*/
|
||||||
public function browseWorkingHours(ApiTester $I): void
|
public function browseEmptyWorkingHours(ApiTester $I): void
|
||||||
{
|
{
|
||||||
$I->haveHttpHeader('Origin', Api::TEST_ORIGIN);
|
$I->haveHttpHeader('Origin', Api::TEST_ORIGIN);
|
||||||
$I->sendGet('/working-hours');
|
$I->sendGet('/working-hours', ['start-date' => '2020-04-01', 'end-date' => '2020-04-30']);
|
||||||
|
$I->seeResponseCodeIs(HttpCode::OK);
|
||||||
|
$I->canSeeHttpHeader('Access-Control-Allow-Origin', Api::TEST_ORIGIN);
|
||||||
|
$I->seeResponseIsJson();
|
||||||
|
$I->seeResponseEquals('[]');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function validWorkingHoursFilterProvider(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
[[null]],
|
||||||
|
[['start-date' => '2020-01-01', 'end-date' => '2020-01-08']],
|
||||||
|
[['start-date' => '2020-01-01', 'end-date' => '2020-04-30']],
|
||||||
|
[['start-date' => '2020-03-01', 'end-date' => '2020-03-07']],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param ApiTester $I
|
||||||
|
* @param Example $example
|
||||||
|
*
|
||||||
|
* @dataProvider validWorkingHoursFilterProvider
|
||||||
|
*/
|
||||||
|
public function browseWorkingHours(ApiTester $I, Example $example): void
|
||||||
|
{
|
||||||
|
$I->haveHttpHeader('Origin', Api::TEST_ORIGIN);
|
||||||
|
$I->sendGet('/working-hours', $example[0]);
|
||||||
$I->seeResponseCodeIs(HttpCode::OK);
|
$I->seeResponseCodeIs(HttpCode::OK);
|
||||||
$I->canSeeHttpHeader('Access-Control-Allow-Origin', Api::TEST_ORIGIN);
|
$I->canSeeHttpHeader('Access-Control-Allow-Origin', Api::TEST_ORIGIN);
|
||||||
$I->seeResponseIsJson();
|
$I->seeResponseIsJson();
|
||||||
$I->seeResponseMatchesJsonType(Api::WORKING_HOURS_JSON_FORMAT);
|
$I->seeResponseMatchesJsonType(Api::WORKING_HOURS_JSON_FORMAT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function invalidWorkingHoursFilterProvider(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
['2020-11-31'],
|
||||||
|
['2020-11'],
|
||||||
|
['2020'],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param ApiTester $I
|
||||||
|
* @param Example $example
|
||||||
|
*
|
||||||
|
* @dataProvider invalidWorkingHoursFilterProvider
|
||||||
|
*/
|
||||||
|
public function browseWorkingHoursWithWrongFilterDate(ApiTester $I, Example $example): void
|
||||||
|
{
|
||||||
|
$I->haveHttpHeader('Origin', Api::TEST_ORIGIN);
|
||||||
|
$I->sendGet('/working-hours', ['start-date' => $example[0]]);
|
||||||
|
$I->seeResponseCodeIs(HttpCode::BAD_REQUEST);
|
||||||
|
$I->canSeeHttpHeader('Access-Control-Allow-Origin', Api::TEST_ORIGIN);
|
||||||
|
$I->seeResponseIsJson();
|
||||||
|
$I->seeResponseMatchesJsonType(Api::ERROR_JSON_FORMAT);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace TorstenHettstedt\TimekeepingApi\Tests\Unit\Controller;
|
namespace TorstenHettstedt\TimekeepingApi\Tests\Unit\Controller;
|
||||||
|
|
||||||
|
use Codeception\Example;
|
||||||
use Codeception\Test\Unit;
|
use Codeception\Test\Unit;
|
||||||
use Exception;
|
use Exception;
|
||||||
use PDO;
|
use PDO;
|
||||||
@@ -37,13 +38,13 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
/** @noinspection SpellCheckingInspection */
|
/** @noinspection SpellCheckingInspection */
|
||||||
$this->container = $this->makeEmpty(ContainerInterface::class, [
|
$this->container = $this->makeEmpty(ContainerInterface::class, [
|
||||||
'has' => true,
|
'has' => true,
|
||||||
'get' => new PDO('pgsql:host=psql.torsten-hettstedt.net;port=5432;dbname=testdb;user=bruce;password=mypass')
|
'get' => new PDO('pgsql:host=psql.torsten-hettstedt.net;port=5432;dbname=testdb;user=bruce;password=mypass'),
|
||||||
]);
|
]);
|
||||||
$this->request = $this->makeEmpty(Request::class, [
|
$this->request = $this->makeEmpty(Request::class, [
|
||||||
'getParsedBody' => [
|
'getParsedBody' => [
|
||||||
'workingDay' => self::EXISTING_DATE,
|
'workingDay' => self::EXISTING_DATE,
|
||||||
'workingTime' => self::EXISTING_INTERVAL,
|
'workingTime' => self::EXISTING_INTERVAL,
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
$this->response = $this->makeEmpty(Response::class, [
|
$this->response = $this->makeEmpty(Response::class, [
|
||||||
'getBody' => $this->makeEmpty(StreamInterface::class, [
|
'getBody' => $this->makeEmpty(StreamInterface::class, [
|
||||||
@@ -65,23 +66,202 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
public function testConstructWithNonDatabase(): void
|
public function testConstructWithNonDatabase(): void
|
||||||
{
|
{
|
||||||
$this->container = $this->makeEmpty(ContainerInterface::class, [
|
$this->container = $this->makeEmpty(ContainerInterface::class, [
|
||||||
'has' => false
|
'has' => false,
|
||||||
]);
|
]);
|
||||||
$this->expectException(NotDatabasesException::class);
|
$this->expectException(NotDatabasesException::class);
|
||||||
new WorkingHoursController($this->container);
|
new WorkingHoursController($this->container);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @return array<int, array<int, array<string, string>>>
|
||||||
|
*/
|
||||||
|
public function valideFilterDataProvider(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
[
|
||||||
|
[],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-01',
|
||||||
|
'end-date' => '2020-03-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-01',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'end-date' => '2020-03-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array<string, string> $queryParams
|
||||||
|
*
|
||||||
|
* @dataProvider valideFilterDataProvider
|
||||||
|
*
|
||||||
|
* @throws HttpInternalServerErrorException
|
||||||
* @throws NotDatabasesException
|
* @throws NotDatabasesException
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function testBrowse(): void
|
public function testBrowseWithValideParameter(array $queryParams): void
|
||||||
{
|
{
|
||||||
|
$this->request = $this->makeEmpty(Request::class, [
|
||||||
|
'getQueryParams' => $queryParams,
|
||||||
|
]);
|
||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$response = $controller->browse($this->request, $this->response, []);
|
$response = $controller->browse($this->request, $this->response, []);
|
||||||
$this->assertInstanceOf(Response::class, $response);
|
$this->assertInstanceOf(Response::class, $response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array<int, array<int, array<string, string|null>>>
|
||||||
|
*/
|
||||||
|
public function invalideFilterDataProvider(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '',
|
||||||
|
'end-date' => '',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'end-date' => '',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-01',
|
||||||
|
'end-date' => '',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '',
|
||||||
|
'end-date' => '2020-03-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
//
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-00',
|
||||||
|
'end-date' => '2020-04-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-00',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'end-date' => '2020-04-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-01',
|
||||||
|
'end-date' => '2020-04-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-00',
|
||||||
|
'end-date' => '2020-03-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
//
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03',
|
||||||
|
'end-date' => '2020-03',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'end-date' => '2020-03',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-01',
|
||||||
|
'end-date' => '2020-03',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03',
|
||||||
|
'end-date' => '2020-03-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
//
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020',
|
||||||
|
'end-date' => '2020',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'end-date' => '2020',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020-03-01',
|
||||||
|
'end-date' => '2020',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'start-date' => '2020',
|
||||||
|
'end-date' => '2020-03-31',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array<string, string> $queryParams
|
||||||
|
*
|
||||||
|
* @dataProvider invalideFilterDataProvider
|
||||||
|
*
|
||||||
|
* @throws HttpInternalServerErrorException
|
||||||
|
* @throws NotDatabasesException
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public function testBrowseWithInvalideParameter(array $queryParams): void
|
||||||
|
{
|
||||||
|
$this->request = $this->makeEmpty(Request::class, [
|
||||||
|
'getQueryParams' => $queryParams,
|
||||||
|
]);
|
||||||
|
$controller = new WorkingHoursController($this->container);
|
||||||
|
$this->expectException(HttpBadRequestException::class);
|
||||||
|
$controller->browse($this->request, $this->response, []);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws NotDatabasesException
|
* @throws NotDatabasesException
|
||||||
* @throws HttpBadRequestException
|
* @throws HttpBadRequestException
|
||||||
@@ -91,7 +271,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
{
|
{
|
||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$response = $controller->update($this->request, $this->response, [
|
$response = $controller->update($this->request, $this->response, [
|
||||||
'id' => self::EXISTING_DATE
|
'id' => self::EXISTING_DATE,
|
||||||
]);
|
]);
|
||||||
$this->assertInstanceOf(Response::class, $response);
|
$this->assertInstanceOf(Response::class, $response);
|
||||||
}
|
}
|
||||||
@@ -106,23 +286,23 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$this->expectException(HttpNotFoundException::class);
|
$this->expectException(HttpNotFoundException::class);
|
||||||
$controller->update($this->request, $this->response, [
|
$controller->update($this->request, $this->response, [
|
||||||
'id' => self::NEW_DATE
|
'id' => self::NEW_DATE,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string[][]
|
* @return string[][]
|
||||||
*/
|
*/
|
||||||
public function invalidDataProvider(): array
|
public function invalidCreatDataProvider(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
self::NEW_DATE,
|
self::NEW_DATE,
|
||||||
'07:59'
|
'07:59',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'2020-13-33',
|
'2020-13-33',
|
||||||
self::NEW_INTERVAL
|
self::NEW_INTERVAL,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -131,7 +311,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
* @param string $date
|
* @param string $date
|
||||||
* @param string $time
|
* @param string $time
|
||||||
*
|
*
|
||||||
* @dataProvider invalidDataProvider
|
* @dataProvider invalidCreatDataProvider
|
||||||
*
|
*
|
||||||
* @throws HttpBadRequestException
|
* @throws HttpBadRequestException
|
||||||
* @throws HttpConflictRequestException
|
* @throws HttpConflictRequestException
|
||||||
@@ -145,7 +325,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
'getParsedBody' => [
|
'getParsedBody' => [
|
||||||
'workingDay' => $date,
|
'workingDay' => $date,
|
||||||
'workingTime' => $time,
|
'workingTime' => $time,
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$this->expectException(HttpBadRequestException::class);
|
$this->expectException(HttpBadRequestException::class);
|
||||||
@@ -165,7 +345,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
'getParsedBody' => [
|
'getParsedBody' => [
|
||||||
'workingDay' => self::NEW_DATE,
|
'workingDay' => self::NEW_DATE,
|
||||||
'workingTime' => self::NEW_INTERVAL,
|
'workingTime' => self::NEW_INTERVAL,
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$response = $controller->creat($this->request, $this->response, []);
|
$response = $controller->creat($this->request, $this->response, []);
|
||||||
@@ -185,7 +365,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
'getParsedBody' => [
|
'getParsedBody' => [
|
||||||
'workingDay' => self::EXISTING_DATE,
|
'workingDay' => self::EXISTING_DATE,
|
||||||
'workingTime' => self::EXISTING_INTERVAL,
|
'workingTime' => self::EXISTING_INTERVAL,
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$this->expectException(HttpConflictRequestException::class);
|
$this->expectException(HttpConflictRequestException::class);
|
||||||
@@ -201,7 +381,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
{
|
{
|
||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$response = $controller->read($this->request, $this->response, [
|
$response = $controller->read($this->request, $this->response, [
|
||||||
'id' => self::EXISTING_DATE
|
'id' => self::EXISTING_DATE,
|
||||||
]);
|
]);
|
||||||
$this->assertInstanceOf(Response::class, $response);
|
$this->assertInstanceOf(Response::class, $response);
|
||||||
}
|
}
|
||||||
@@ -216,7 +396,7 @@ class WorkingHoursControllerTest extends Unit
|
|||||||
$controller = new WorkingHoursController($this->container);
|
$controller = new WorkingHoursController($this->container);
|
||||||
$this->expectException(HttpNotFoundException::class);
|
$this->expectException(HttpNotFoundException::class);
|
||||||
$controller->read($this->request, $this->response, [
|
$controller->read($this->request, $this->response, [
|
||||||
'id' => self::NEW_DATE
|
'id' => self::NEW_DATE,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ use Psr\Http\Message\StreamInterface;
|
|||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use Slim\App;
|
use Slim\App;
|
||||||
use Slim\Exception\HttpException;
|
use Slim\Exception\HttpException;
|
||||||
|
use Slim\Interfaces\RouteParserInterface;
|
||||||
|
use Slim\Routing\RouteContext;
|
||||||
|
use Slim\Routing\RoutingResults;
|
||||||
use TorstenHettstedt\TimekeepingApi\Middleware\ErrorHandler;
|
use TorstenHettstedt\TimekeepingApi\Middleware\ErrorHandler;
|
||||||
|
|
||||||
class ErrorHandlerTest extends Unit
|
class ErrorHandlerTest extends Unit
|
||||||
@@ -40,7 +43,19 @@ class ErrorHandlerTest extends Unit
|
|||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
]);
|
]);
|
||||||
$this->request = $this->makeEmpty(ServerRequestInterface::class);
|
$this->request = $this->makeEmpty(ServerRequestInterface::class, [
|
||||||
|
'getAttribute' => function ($name) {
|
||||||
|
/** @noinspection PhpSwitchCanBeReplacedWithMatchExpressionInspection */
|
||||||
|
switch ($name) {
|
||||||
|
case RouteContext::ROUTE_PARSER:
|
||||||
|
return $this->makeEmpty(RouteParserInterface::class);
|
||||||
|
case RouteContext::ROUTING_RESULTS:
|
||||||
|
return $this->makeEmpty(RoutingResults::class);
|
||||||
|
default:
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -17,13 +17,15 @@ class WorkingHoursViewTest extends Unit
|
|||||||
*/
|
*/
|
||||||
public function workingHoursProvider(): array
|
public function workingHoursProvider(): array
|
||||||
{
|
{
|
||||||
|
$date = new DateTime('2020-11-30');
|
||||||
|
$work_days = 15;
|
||||||
|
$total_hours = new DateInterval("PT32H22M");
|
||||||
|
$overtime = new DateInterval("PT22M");
|
||||||
|
$absence_time = clone $overtime;
|
||||||
|
$absence_time->invert = 1;
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
new DateTime('2020-11-30'),
|
$date, PeriodDesignationEnum::WEEKLY(), $work_days, $total_hours, $overtime,
|
||||||
PeriodDesignationEnum::WEEKLY(),
|
|
||||||
15,
|
|
||||||
new DateInterval("PT32H22M"),
|
|
||||||
new DateInterval("PT22M"),
|
|
||||||
[
|
[
|
||||||
'period' => '2020#49',
|
'period' => '2020#49',
|
||||||
'periodDesignation' => 'weekly',
|
'periodDesignation' => 'weekly',
|
||||||
@@ -33,11 +35,17 @@ class WorkingHoursViewTest extends Unit
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
new DateTime('2020-11-30'),
|
$date, PeriodDesignationEnum::WEEKLY(), $work_days, $total_hours, $absence_time,
|
||||||
PeriodDesignationEnum::MONTHLY(),
|
[
|
||||||
15,
|
'period' => '2020#49',
|
||||||
new DateInterval("PT32H22M"),
|
'periodDesignation' => 'weekly',
|
||||||
new DateInterval("PT22M"),
|
'workingDays' => 15,
|
||||||
|
'totalHours' => '32:22:00',
|
||||||
|
'overtime' => '-00:22:00'
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
$date, PeriodDesignationEnum::MONTHLY(), $work_days, $total_hours, $overtime,
|
||||||
[
|
[
|
||||||
'period' => '2020-11',
|
'period' => '2020-11',
|
||||||
'periodDesignation' => 'monthly',
|
'periodDesignation' => 'monthly',
|
||||||
@@ -47,12 +55,17 @@ class WorkingHoursViewTest extends Unit
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
new DateTime('2020-11-30'),
|
$date, PeriodDesignationEnum::MONTHLY(), $work_days, $total_hours, $absence_time,
|
||||||
PeriodDesignationEnum::YEARLY(),
|
|
||||||
15,
|
|
||||||
new DateInterval("PT32H22M"),
|
|
||||||
new DateInterval("PT22M"),
|
|
||||||
[
|
[
|
||||||
|
'period' => '2020-11',
|
||||||
|
'periodDesignation' => 'monthly',
|
||||||
|
'workingDays' => 15,
|
||||||
|
'totalHours' => '32:22:00',
|
||||||
|
'overtime' => '-00:22:00'
|
||||||
|
],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
$date, PeriodDesignationEnum::YEARLY(), $work_days, $total_hours, $overtime, [
|
||||||
'period' => '2020',
|
'period' => '2020',
|
||||||
'periodDesignation' => 'yearly',
|
'periodDesignation' => 'yearly',
|
||||||
'workingDays' => 15,
|
'workingDays' => 15,
|
||||||
@@ -60,6 +73,15 @@ class WorkingHoursViewTest extends Unit
|
|||||||
'overtime' => '00:22:00'
|
'overtime' => '00:22:00'
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
$date, PeriodDesignationEnum::YEARLY(), $work_days, $total_hours, $absence_time, [
|
||||||
|
'period' => '2020',
|
||||||
|
'periodDesignation' => 'yearly',
|
||||||
|
'workingDays' => 15,
|
||||||
|
'totalHours' => '32:22:00',
|
||||||
|
'overtime' => '-00:22:00'
|
||||||
|
],
|
||||||
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace TorstenHettstedt\TimekeepingApi\Tests\Unit\Repositories;
|
namespace TorstenHettstedt\TimekeepingApi\Tests\Unit\Repositories;
|
||||||
|
|
||||||
|
use Codeception\Example;
|
||||||
use Codeception\Test\Unit;
|
use Codeception\Test\Unit;
|
||||||
use DateInterval;
|
use DateInterval;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
@@ -10,6 +11,7 @@ use InvalidArgumentException;
|
|||||||
use PDO;
|
use PDO;
|
||||||
use TorstenHettstedt\TimekeepingApi\Models\ModelInterface;
|
use TorstenHettstedt\TimekeepingApi\Models\ModelInterface;
|
||||||
use TorstenHettstedt\TimekeepingApi\Models\WorkingHours;
|
use TorstenHettstedt\TimekeepingApi\Models\WorkingHours;
|
||||||
|
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryBadWhereDataException;
|
||||||
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordAlreadyExistException;
|
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordAlreadyExistException;
|
||||||
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordNotFoundException;
|
use TorstenHettstedt\TimekeepingApi\Repositories\RepositoryRecordNotFoundException;
|
||||||
use TorstenHettstedt\TimekeepingApi\Repositories\WorkingHoursRepository;
|
use TorstenHettstedt\TimekeepingApi\Repositories\WorkingHoursRepository;
|
||||||
@@ -34,7 +36,7 @@ class WorkingHoursRepositoryTest extends Unit
|
|||||||
/**
|
/**
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function testFindAll(): void
|
public function testFindAllWithBlankParameter(): void
|
||||||
{
|
{
|
||||||
$repository = new WorkingHoursRepository($this->pdoObject);
|
$repository = new WorkingHoursRepository($this->pdoObject);
|
||||||
$models = $repository->findAll();
|
$models = $repository->findAll();
|
||||||
@@ -43,6 +45,81 @@ class WorkingHoursRepositoryTest extends Unit
|
|||||||
$this->assertCount(self::RECORDS_COUNT, $models);
|
$this->assertCount(self::RECORDS_COUNT, $models);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array<int, array<int|string|null>>
|
||||||
|
*/
|
||||||
|
public function valideFilterParameter(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
[null, null, 61,],
|
||||||
|
['2020-04-01', null, 0,],
|
||||||
|
['2020-04-01', '2020-04-30', 0,],
|
||||||
|
[null, '2020-04-30', 61,],
|
||||||
|
['2020-03-01', null, 22,],
|
||||||
|
['2020-03-01', '2020-03-31', 22,],
|
||||||
|
['2020-03-01', '2020-03-07', 5,],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string|null $start
|
||||||
|
* @param string|null $ende
|
||||||
|
* @param int $count
|
||||||
|
*
|
||||||
|
* @dataProvider valideFilterParameter
|
||||||
|
*
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public function testFindAllWithValideParameter(?string $start, ?string $ende, int $count): void
|
||||||
|
{
|
||||||
|
$repository = new WorkingHoursRepository($this->pdoObject);
|
||||||
|
$models = $repository->findFiltered($start, $ende);
|
||||||
|
$this->assertIsArray($models);
|
||||||
|
$this->assertContainsOnly(WorkingHours::class, $models);
|
||||||
|
$this->assertCount($count, $models);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array<int, array<int|string|null>>
|
||||||
|
*/
|
||||||
|
public function invalideFilterParameter(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
['2020-04-31',null],
|
||||||
|
[null, '2020-04-31'],
|
||||||
|
['2020-04-00','2020-04-31'],
|
||||||
|
['2020-04-01','2020-04-31'],
|
||||||
|
['2020-04-00','2020-04-30'],
|
||||||
|
//
|
||||||
|
['2020-04', null],
|
||||||
|
[null, '2020-04'],
|
||||||
|
['2020-04', '2020-04'],
|
||||||
|
['2020-04-01','2020-04'],
|
||||||
|
['2020-04', '2020-04-30'],
|
||||||
|
//
|
||||||
|
['2020', null],
|
||||||
|
[null, '2020'],
|
||||||
|
['2020', '2020'],
|
||||||
|
['2020-04-01','2020'],
|
||||||
|
['2020', '2020-04-30'],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string|null $start
|
||||||
|
* @param string|null $ende
|
||||||
|
*
|
||||||
|
* @dataProvider invalideFilterParameter
|
||||||
|
*
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public function testFindAllWithInvalideParameter(?string $start, ?string $ende): void
|
||||||
|
{
|
||||||
|
$repository = new WorkingHoursRepository($this->pdoObject);
|
||||||
|
$this->expectException(RepositoryBadWhereDataException::class);
|
||||||
|
$repository->findFiltered($start, $ende);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws RepositoryRecordNotFoundException
|
* @throws RepositoryRecordNotFoundException
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -24,3 +24,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./api:/var/www
|
- ./api:/var/www
|
||||||
- logs:/var/www/logs
|
- logs:/var/www/logs
|
||||||
|
ui:
|
||||||
|
build: ./ui/
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
depends_on:
|
||||||
|
- api
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
install_api_dependence() {
|
||||||
|
cd api/ || exit 2
|
||||||
|
composer install
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
build_ui() {
|
||||||
|
cd ui/ || exit 2
|
||||||
|
npm run build
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
test_unit() {
|
||||||
|
pwd
|
||||||
|
cd api/ || exit 2
|
||||||
|
./vendor/bin/codecept run unit
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
test_api() {
|
||||||
|
cd api/ || exit 2
|
||||||
|
./vendor/bin/codecept run api
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
composer_run() {
|
||||||
|
docker-compose up -d
|
||||||
|
}
|
||||||
|
|
||||||
|
install_api_dependence && build_ui && test_unit && composer_run && test_api
|
||||||
@@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
salt
|
salt
|
||||||
{
|
{
|
||||||
Datum |"Datum <&calendar>"
|
{/ <b>Täglich | Wöchentlich }
|
||||||
Uhrzeit | "Uhrzeit <&clock>"
|
Datum |"0000-00-00 <&calendar>"
|
||||||
[Übernehmen <&plus>]
|
Uhrzeit | "00:00:00 <&clock>"
|
||||||
|
[Übernehmen und weiter <&plus>]
|
||||||
[Abbrechen <&action-undo>]
|
[Abbrechen <&action-undo>]
|
||||||
}
|
}
|
||||||
@enduml
|
@enduml
|
||||||
@@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
salt
|
salt
|
||||||
{
|
{
|
||||||
Woche vom <&calendar> bis zum <&calendar>
|
{/ Täglich | <b>Wöchentlich }
|
||||||
|
Woche vom
|
||||||
|
"0000-00-00 <&calendar>"
|
||||||
[<&chevron-left> Woche zurück] | [Woche vor <&chevron-right>]
|
[<&chevron-left> Woche zurück] | [Woche vor <&chevron-right>]
|
||||||
{!
|
{!
|
||||||
Montag | "00:00:00 <&clock>"
|
Montag | "00:00:00 <&clock>"
|
||||||
@@ -14,7 +16,7 @@ salt
|
|||||||
<color:red>Samstag | "<color:red>00:00:00 <&clock>"
|
<color:red>Samstag | "<color:red>00:00:00 <&clock>"
|
||||||
<color:red>Sontag | "<color:red>00:00:00 <&clock>"
|
<color:red>Sontag | "<color:red>00:00:00 <&clock>"
|
||||||
}
|
}
|
||||||
[Übernehmen <&plus>]
|
[Übernehmen und weiter <&plus>]
|
||||||
[Abbrechen <&action-undo>]
|
[Abbrechen <&action-undo>]
|
||||||
}
|
}
|
||||||
@enduml
|
@enduml
|
||||||
@@ -0,0 +1,442 @@
|
|||||||
|
truncate table public."Arbeitszeiten";
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-09', '0 years 0 mons 0 days 8 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-10', '0 years 0 mons 0 days 8 hours 23 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-11', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-14', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-15', '0 years 0 mons 0 days 9 hours 11 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-16', '0 years 0 mons 0 days 8 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-17', '0 years 0 mons 0 days 9 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-18', '0 years 0 mons 0 days 7 hours 31 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-21', '0 years 0 mons 0 days 8 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-22', '0 years 0 mons 0 days 8 hours 31 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-23', '0 years 0 mons 0 days 9 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-24', '0 years 0 mons 0 days 7 hours 17 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-25', '0 years 0 mons 0 days 7 hours 22 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-04', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-05', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-06', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-07', '0 years 0 mons 0 days 7 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-08', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-11', '0 years 0 mons 0 days 6 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-12', '0 years 0 mons 0 days 8 hours 48 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-13', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-14', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-15', '0 years 0 mons 0 days 7 hours 57 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-18', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-19', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-21', '0 years 0 mons 0 days 15 hours 18 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-22', '0 years 0 mons 0 days 4 hours 26 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-25', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-26', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-02-27', '0 years 0 mons 0 days 7 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-01-28', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-01', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-04', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-05', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-06', '0 years 0 mons 0 days 8 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-07', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-08', '0 years 0 mons 0 days 7 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-11', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-12', '0 years 0 mons 0 days 7 hours 34 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-13', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-14', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-15', '0 years 0 mons 0 days 8 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-18', '0 years 0 mons 0 days 7 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-19', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-20', '0 years 0 mons 0 days 8 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-21', '0 years 0 mons 0 days 8 hours 34 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-22', '0 years 0 mons 0 days 7 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-25', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-26', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-27', '0 years 0 mons 0 days 8 hours 28 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-28', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-03-29', '0 years 0 mons 0 days 6 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-01', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-02', '0 years 0 mons 0 days 8 hours 36 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-03', '0 years 0 mons 0 days 7 hours 57 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-04', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-05', '0 years 0 mons 0 days 8 hours 23 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-08', '0 years 0 mons 0 days 7 hours 52 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-09', '0 years 0 mons 0 days 8 hours 36 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-10', '0 years 0 mons 0 days 8 hours 36 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-11', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-12', '0 years 0 mons 0 days 7 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-15', '0 years 0 mons 0 days 10 hours 23 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-16', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-17', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-18', '0 years 0 mons 0 days 5 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-23', '0 years 0 mons 0 days 7 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-24', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-25', '0 years 0 mons 0 days 8 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-04-26', '0 years 0 mons 0 days 8 hours 12 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-06', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-07', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-08', '0 years 0 mons 0 days 10 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-09', '0 years 0 mons 0 days 7 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-10', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-13', '0 years 0 mons 0 days 8 hours 26 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-14', '0 years 0 mons 0 days 8 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-15', '0 years 0 mons 0 days 7 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-16', '0 years 0 mons 0 days 7 hours 39 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-17', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-20', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-21', '0 years 0 mons 0 days 9 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-22', '0 years 0 mons 0 days 8 hours 31 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-23', '0 years 0 mons 0 days 7 hours 41 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-24', '0 years 0 mons 0 days 7 hours 36 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-27', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-28', '0 years 0 mons 0 days 8 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-05-29', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-03', '0 years 0 mons 0 days 8 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-04', '0 years 0 mons 0 days 8 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-05', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-06', '0 years 0 mons 0 days 7 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-07', '0 years 0 mons 0 days 7 hours 35 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-11', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-12', '0 years 0 mons 0 days 8 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-13', '0 years 0 mons 0 days 8 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-14', '0 years 0 mons 0 days 4 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-17', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-18', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-19', '0 years 0 mons 0 days 8 hours 34 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-20', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-21', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-24', '0 years 0 mons 0 days 8 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-25', '0 years 0 mons 0 days 8 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-26', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-27', '0 years 0 mons 0 days 6 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-06-28', '0 years 0 mons 0 days 7 hours 18 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-01', '0 years 0 mons 0 days 7 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-02', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-03', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-04', '0 years 0 mons 0 days 7 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-05', '0 years 0 mons 0 days 8 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-08', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-09', '0 years 0 mons 0 days 8 hours 24 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-10', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-11', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-12', '0 years 0 mons 0 days 7 hours 15 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-15', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-16', '0 years 0 mons 0 days 8 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-17', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-18', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-19', '0 years 0 mons 0 days 7 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-22', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-23', '0 years 0 mons 0 days 8 hours 11 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-24', '0 years 0 mons 0 days 8 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-25', '0 years 0 mons 0 days 8 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-26', '0 years 0 mons 0 days 8 hours 17 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-29', '0 years 0 mons 0 days 8 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-30', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-07-31', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-01', '0 years 0 mons 0 days 9 hours 17 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-02', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-19', '0 years 0 mons 0 days 7 hours 39 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-20', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-21', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-22', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-23', '0 years 0 mons 0 days 7 hours 18 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-26', '0 years 0 mons 0 days 7 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-27', '0 years 0 mons 0 days 8 hours 15 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-28', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-29', '0 years 0 mons 0 days 7 hours 52 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-08-30', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-02', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-03', '0 years 0 mons 0 days 8 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-04', '0 years 0 mons 0 days 7 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-05', '0 years 0 mons 0 days 8 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-06', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-09', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-10', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-11', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-12', '0 years 0 mons 0 days 8 hours 26 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-13', '0 years 0 mons 0 days 8 hours 24 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-16', '0 years 0 mons 0 days 8 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-17', '0 years 0 mons 0 days 7 hours 48 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-18', '0 years 0 mons 0 days 6 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-19', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-20', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-23', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-24', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-25', '0 years 0 mons 0 days 7 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-26', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-27', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-09-30', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-01', '0 years 0 mons 0 days 8 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-02', '0 years 0 mons 0 days 7 hours 26 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-07', '0 years 0 mons 0 days 7 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-08', '0 years 0 mons 0 days 7 hours 52 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-09', '0 years 0 mons 0 days 8 hours 40 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-10', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-14', '0 years 0 mons 0 days 7 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-15', '0 years 0 mons 0 days 7 hours 45 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-21', '0 years 0 mons 0 days 7 hours 57 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-22', '0 years 0 mons 0 days 8 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-23', '0 years 0 mons 0 days 8 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-24', '0 years 0 mons 0 days 7 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-25', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-28', '0 years 0 mons 0 days 7 hours 27 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-29', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-10-30', '0 years 0 mons 0 days 7 hours 29 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-01', '0 years 0 mons 0 days 8 hours 48 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-04', '0 years 0 mons 0 days 7 hours 52 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-05', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-06', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-07', '0 years 0 mons 0 days 7 hours 24 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-08', '0 years 0 mons 0 days 8 hours 12 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-11', '0 years 0 mons 0 days 7 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-12', '0 years 0 mons 0 days 7 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-13', '0 years 0 mons 0 days 7 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-14', '0 years 0 mons 0 days 7 hours 40 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-15', '0 years 0 mons 0 days 7 hours 34 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-18', '0 years 0 mons 0 days 7 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-19', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-20', '0 years 0 mons 0 days 7 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-21', '0 years 0 mons 0 days 7 hours 39 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-22', '0 years 0 mons 0 days 7 hours 31 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-25', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-26', '0 years 0 mons 0 days 7 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-27', '0 years 0 mons 0 days 8 hours 29 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-28', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-11-29', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-02', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-03', '0 years 0 mons 0 days 7 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-04', '0 years 0 mons 0 days 8 hours 27 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-05', '0 years 0 mons 0 days 5 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-06', '0 years 0 mons 0 days 7 hours 35 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-09', '0 years 0 mons 0 days 7 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-10', '0 years 0 mons 0 days 8 hours 27 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-11', '0 years 0 mons 0 days 7 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-12', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-13', '0 years 0 mons 0 days 6 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-16', '0 years 0 mons 0 days 7 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-17', '0 years 0 mons 0 days 8 hours 33 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-18', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-19', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2019-12-20', '0 years 0 mons 0 days 6 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-07', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-08', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-09', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-10', '0 years 0 mons 0 days 7 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-13', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-14', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-15', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-16', '0 years 0 mons 0 days 7 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-17', '0 years 0 mons 0 days 7 hours 57 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-20', '0 years 0 mons 0 days 7 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-21', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-22', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-23', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-24', '0 years 0 mons 0 days 7 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-27', '0 years 0 mons 0 days 8 hours 23 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-28', '0 years 0 mons 0 days 7 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-29', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-30', '0 years 0 mons 0 days 8 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-01-31', '0 years 0 mons 0 days 7 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-03', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-04', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-05', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-06', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-07', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-10', '0 years 0 mons 0 days 7 hours 50 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-11', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-12', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-13', '0 years 0 mons 0 days 8 hours 12 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-14', '0 years 0 mons 0 days 7 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-17', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-18', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-19', '0 years 0 mons 0 days 7 hours 34 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-20', '0 years 0 mons 0 days 7 hours 33 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-21', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-24', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-25', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-26', '0 years 0 mons 0 days 8 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-27', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-02-28', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-02', '0 years 0 mons 0 days 8 hours 22 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-03', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-04', '0 years 0 mons 0 days 8 hours 12 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-05', '0 years 0 mons 0 days 8 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-06', '0 years 0 mons 0 days 4 hours 41 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-09', '0 years 0 mons 0 days 7 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-10', '0 years 0 mons 0 days 7 hours 34 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-11', '0 years 0 mons 0 days 7 hours 39 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-12', '0 years 0 mons 0 days 7 hours 50 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-13', '0 years 0 mons 0 days 8 hours 26 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-16', '0 years 0 mons 0 days 7 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-17', '0 years 0 mons 0 days 7 hours 50 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-18', '0 years 0 mons 0 days 7 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-19', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-20', '0 years 0 mons 0 days 5 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-23', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-24', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-25', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-26', '0 years 0 mons 0 days 10 hours 31 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-27', '0 years 0 mons 0 days 4 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-30', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-03-31', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-01', '0 years 0 mons 0 days 7 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-02', '0 years 0 mons 0 days 8 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-03', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-06', '0 years 0 mons 0 days 7 hours 27 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-07', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-08', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-14', '0 years 0 mons 0 days 7 hours 17 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-15', '0 years 0 mons 0 days 7 hours 56 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-16', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-17', '0 years 0 mons 0 days 7 hours 39 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-20', '0 years 0 mons 0 days 8 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-21', '0 years 0 mons 0 days 8 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-22', '0 years 0 mons 0 days 8 hours 24 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-23', '0 years 0 mons 0 days 8 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-24', '0 years 0 mons 0 days 8 hours 24 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-27', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-28', '0 years 0 mons 0 days 8 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-29', '0 years 0 mons 0 days 8 hours 23 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-04-30', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-04', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-05', '0 years 0 mons 0 days 6 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-06', '0 years 0 mons 0 days 9 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-07', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-08', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-11', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-12', '0 years 0 mons 0 days 8 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-13', '0 years 0 mons 0 days 8 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-14', '0 years 0 mons 0 days 8 hours 39 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-15', '0 years 0 mons 0 days 6 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-18', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-19', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-20', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-25', '0 years 0 mons 0 days 7 hours 41 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-26', '0 years 0 mons 0 days 8 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-27', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-28', '0 years 0 mons 0 days 8 hours 24 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-26', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-05-29', '0 years 0 mons 0 days 8 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-02', '0 years 0 mons 0 days 7 hours 50 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-03', '0 years 0 mons 0 days 6 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-04', '0 years 0 mons 0 days 8 hours 27 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-05', '0 years 0 mons 0 days 7 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-08', '0 years 0 mons 0 days 7 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-09', '0 years 0 mons 0 days 7 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-10', '0 years 0 mons 0 days 7 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-11', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-15', '0 years 0 mons 0 days 7 hours 45 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-16', '0 years 0 mons 0 days 8 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-17', '0 years 0 mons 0 days 8 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-18', '0 years 0 mons 0 days 8 hours 23 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-19', '0 years 0 mons 0 days 8 hours 18 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-22', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-23', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-24', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-25', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-26', '0 years 0 mons 0 days 9 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-29', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-06-30', '0 years 0 mons 0 days 8 hours 18 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-01', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-02', '0 years 0 mons 0 days 7 hours 41 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-07', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-08', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-09', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-10', '0 years 0 mons 0 days 6 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-03', '0 years 0 mons 0 days 7 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-06', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-13', '0 years 0 mons 0 days 7 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-14', '0 years 0 mons 0 days 7 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-15', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-16', '0 years 0 mons 0 days 7 hours 57 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-07-17', '0 years 0 mons 0 days 8 hours 10 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-10', '0 years 0 mons 0 days 7 hours 50 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-11', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-12', '0 years 0 mons 0 days 7 hours 12 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-13', '0 years 0 mons 0 days 7 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-14', '0 years 0 mons 0 days 8 hours 29 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-17', '0 years 0 mons 0 days 8 hours 46 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-18', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-19', '0 years 0 mons 0 days 8 hours 9 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-20', '0 years 0 mons 0 days 8 hours 17 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-21', '0 years 0 mons 0 days 7 hours 26 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-24', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-25', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-26', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-27', '0 years 0 mons 0 days 7 hours 31 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-28', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-08-31', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-01', '0 years 0 mons 0 days 8 hours 12 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-02', '0 years 0 mons 0 days 7 hours 45 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-03', '0 years 0 mons 0 days 8 hours 37 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-04', '0 years 0 mons 0 days 7 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-07', '0 years 0 mons 0 days 7 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-08', '0 years 0 mons 0 days 8 hours 1 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-09', '0 years 0 mons 0 days 8 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-10', '0 years 0 mons 0 days 6 hours 42 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-11', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-14', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-15', '0 years 0 mons 0 days 7 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-16', '0 years 0 mons 0 days 7 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-17', '0 years 0 mons 0 days 7 hours 33 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-18', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-21', '0 years 0 mons 0 days 7 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-22', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-23', '0 years 0 mons 0 days 8 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-24', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-25', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-28', '0 years 0 mons 0 days 7 hours 49 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-29', '0 years 0 mons 0 days 7 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-09-30', '0 years 0 mons 0 days 8 hours 15 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-01', '0 years 0 mons 0 days 7 hours 27 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-02', '0 years 0 mons 0 days 7 hours 22 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-05', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-06', '0 years 0 mons 0 days 8 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-07', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-08', '0 years 0 mons 0 days 7 hours 29 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-09', '0 years 0 mons 0 days 9 hours 0 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-12', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-13', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-14', '0 years 0 mons 0 days 8 hours 13 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-15', '0 years 0 mons 0 days 7 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-16', '0 years 0 mons 0 days 8 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-19', '0 years 0 mons 0 days 8 hours 16 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-20', '0 years 0 mons 0 days 7 hours 58 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-21', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-22', '0 years 0 mons 0 days 7 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-23', '0 years 0 mons 0 days 7 hours 38 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-27', '0 years 0 mons 0 days 9 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-28', '0 years 0 mons 0 days 7 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-29', '0 years 0 mons 0 days 7 hours 51 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-10-30', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-02', '0 years 0 mons 0 days 8 hours 11 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-04', '0 years 0 mons 0 days 8 hours 5 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-05', '0 years 0 mons 0 days 7 hours 44 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-06', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-09', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-11', '0 years 0 mons 0 days 8 hours 28 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-12', '0 years 0 mons 0 days 7 hours 21 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-13', '0 years 0 mons 0 days 9 hours 2 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-16', '0 years 0 mons 0 days 7 hours 59 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-17', '0 years 0 mons 0 days 8 hours 32 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-18', '0 years 0 mons 0 days 8 hours 8 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-19', '0 years 0 mons 0 days 8 hours 25 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-20', '0 years 0 mons 0 days 8 hours 6 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-03', '0 years 0 mons 0 days 8 hours 14 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-10', '0 years 0 mons 0 days 8 hours 3 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-23', '0 years 0 mons 0 days 8 hours 17 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-24', '0 years 0 mons 0 days 7 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-25', '0 years 0 mons 0 days 7 hours 52 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-26', '0 years 0 mons 0 days 7 hours 53 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-27', '0 years 0 mons 0 days 8 hours 20 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-11-30', '0 years 0 mons 0 days 8 hours 43 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-01', '0 years 0 mons 0 days 8 hours 33 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-02', '0 years 0 mons 0 days 6 hours 19 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-03', '0 years 0 mons 0 days 7 hours 48 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-04', '0 years 0 mons 0 days 8 hours 29 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-07', '0 years 0 mons 0 days 8 hours 7 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-09', '0 years 0 mons 0 days 7 hours 55 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-10', '0 years 0 mons 0 days 7 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-11', '0 years 0 mons 0 days 7 hours 30 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-08', '0 years 0 mons 0 days 8 hours 22 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-14', '0 years 0 mons 0 days 7 hours 54 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-15', '0 years 0 mons 0 days 8 hours 4 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-16', '0 years 0 mons 0 days 7 hours 36 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-17', '0 years 0 mons 0 days 7 hours 47 mins 0.00 secs');
|
||||||
|
INSERT INTO public."Arbeitszeiten" ("Datum", "Arbeitszeit") VALUES ('2020-12-18', '0 years 0 mons 0 days 7 hours 33 mins 0.00 secs');
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
@startuml
|
||||||
|
'https://plantuml.com/activity-diagram-beta
|
||||||
|
|UI|
|
||||||
|
:Bestimme //Startdatum//;
|
||||||
|
:Bestimme //Enddatum//;
|
||||||
|
:Erstelle //Liste der Wochentage//;
|
||||||
|
|REST|
|
||||||
|
start
|
||||||
|
:Rufe API auf;
|
||||||
|
|UI|
|
||||||
|
:Zeige //Liste der Wochentage// an;
|
||||||
|
:Verarbeite Informationen der Rest-API;
|
||||||
|
stop
|
||||||
|
|
||||||
|
@enduml
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
FROM httpd:2.4
|
||||||
|
|
||||||
|
COPY ./public/ /usr/local/apache2/htdocs/
|
||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
Binary file not shown.
@@ -71,15 +71,6 @@ section article {
|
|||||||
font-size: 1.30em;
|
font-size: 1.30em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
div.zelle > label {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&.http-error {
|
|
||||||
header {
|
|
||||||
background: hsl(340, 90%, 50%);
|
|
||||||
color: hsl(0, 0%, 95%);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ Definition der Farben
|
|||||||
@hueSub: 215;
|
@hueSub: 215;
|
||||||
|
|
||||||
@mainColor: hsl(@hueMain, 90%, 29%);
|
@mainColor: hsl(@hueMain, 90%, 29%);
|
||||||
|
@redColor: hsl(0, 90%, 29%);
|
||||||
@mainColorDark: darken(@mainColor,66%,relativ);
|
@mainColorDark: darken(@mainColor,66%,relativ);
|
||||||
@mainColorLight: lighten(@mainColor,66%,relativ);
|
@mainColorLight: lighten(@mainColor,66%,relativ);
|
||||||
@subColor: hsl(@hueSub, 90%, 29%);
|
@subColor: hsl(@hueSub, 90%, 29%);
|
||||||
|
|||||||
@@ -72,18 +72,6 @@ main {
|
|||||||
margin: @sectionMargin;
|
margin: @sectionMargin;
|
||||||
text-indent: @sectionMargin * 2;
|
text-indent: @sectionMargin * 2;
|
||||||
}
|
}
|
||||||
ul, ol {
|
|
||||||
margin: initial;
|
|
||||||
li {
|
|
||||||
margin: initial;
|
|
||||||
padding: initial;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dl {
|
|
||||||
dd {
|
|
||||||
margin-left: 2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
table {
|
table {
|
||||||
thead {
|
thead {
|
||||||
tr:last-child {
|
tr:last-child {
|
||||||
@@ -91,11 +79,41 @@ main {
|
|||||||
border-bottom: @mainColor solid thin;
|
border-bottom: @mainColor solid thin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
tbody {
|
||||||
|
td.absence-time {
|
||||||
|
color: @redColor;
|
||||||
|
text-decoration-line: underline;
|
||||||
|
text-decoration-style: dashed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
form {
|
form {
|
||||||
@formLabelWidth: 10rem;
|
@formLabelWidth: 10rem;
|
||||||
@formItemWidth: 40rem;
|
@formItemWidth: 40rem;
|
||||||
|
nav.menu {
|
||||||
|
width: @formItemWidth + @formLabelWidth + 4rem;
|
||||||
|
border-color: @mainColor;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
margin: 1rem auto;
|
||||||
|
span {
|
||||||
|
border-color: @mainColor;
|
||||||
|
border-style: solid solid none;
|
||||||
|
padding: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: bolder;
|
||||||
|
margin-right: 1rem;
|
||||||
|
&:first-child {
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
background-color: darken(@mainColorLight,10%,relativ);
|
||||||
|
}
|
||||||
|
&.active {
|
||||||
|
background-color: darken(@mainColorLight,20%,relativ);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
fieldset {
|
fieldset {
|
||||||
width: @formItemWidth + @formLabelWidth + 2rem;
|
width: @formItemWidth + @formLabelWidth + 2rem;
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
@@ -116,7 +134,7 @@ main {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0.5rem;
|
margin: 0.5rem;
|
||||||
}
|
}
|
||||||
input, textarea {
|
input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: @formItemWidth;
|
width: @formItemWidth;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
@@ -124,38 +142,6 @@ main {
|
|||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: thin;
|
border-width: thin;
|
||||||
}
|
}
|
||||||
div.radio-button {
|
|
||||||
padding-left: 20%;
|
|
||||||
label, input {
|
|
||||||
display: inline;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
input {
|
|
||||||
margin-top: inherit;
|
|
||||||
margin-right: 1rem;
|
|
||||||
margin-left: 1rem;
|
|
||||||
margin-bottom: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
textarea {
|
|
||||||
height: 10rem;
|
|
||||||
}
|
|
||||||
ul.suche {
|
|
||||||
width: 30rem;
|
|
||||||
margin-left: @formLabelWidth + 1.5rem;
|
|
||||||
margin-top: -1rem;
|
|
||||||
background: white;
|
|
||||||
position: absolute;
|
|
||||||
border: solid thin;
|
|
||||||
li {list-style: none;
|
|
||||||
text-indent: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
&:hover {
|
|
||||||
background: @mainColorLight;
|
|
||||||
color: @mainColor;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -188,48 +174,3 @@ main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
|
||||||
background: @mainColorLight ;
|
|
||||||
li {
|
|
||||||
background: @mainColorLight;
|
|
||||||
color: @mainColor;
|
|
||||||
font-weight: bold ;
|
|
||||||
&:not(:first-child) {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
padding: 1.25rem .5rem;
|
|
||||||
text-decoration: none;
|
|
||||||
color: @mainColor;
|
|
||||||
&:hover, &:active, &:focus {
|
|
||||||
color: darken(@mainColor,10%,relative);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:hover, &:active, &:focus {
|
|
||||||
background: lighten(@mainColorLight,10%,relative);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
form {
|
|
||||||
@paddingForm: 0.5rem;
|
|
||||||
@paddingInput: @paddingForm/2;
|
|
||||||
background: @mainColorLight;
|
|
||||||
color: @mainColor;
|
|
||||||
padding: 2 * @paddingForm @paddingForm;
|
|
||||||
input {
|
|
||||||
display: block;
|
|
||||||
width: @breiteNavBereich - (@paddingForm + @paddingInput) * 2 ;
|
|
||||||
border: none;
|
|
||||||
margin-bottom: @paddingForm;
|
|
||||||
padding: @paddingInput;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
line-height: 1.5em;
|
|
||||||
text-align: left;
|
|
||||||
.hyphens();
|
|
||||||
margin: 1em;
|
|
||||||
font-size: 85%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -137,6 +137,7 @@
|
|||||||
width: @breiteNavBereich;
|
width: @breiteNavBereich;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 830px) {
|
@media screen and (max-width: 830px) {
|
||||||
html body {
|
html body {
|
||||||
@boxHeight: 5rem;
|
@boxHeight: 5rem;
|
||||||
@@ -145,16 +146,18 @@
|
|||||||
font-size: @boxHeight;
|
font-size: @boxHeight;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
& > footer {
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
& > nav {
|
& > nav {
|
||||||
background: none;
|
|
||||||
left:auto;
|
|
||||||
ul {
|
ul {
|
||||||
li {
|
li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: none;
|
border: none;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
height: 1.5em;
|
||||||
|
padding-top: 0.25em;
|
||||||
a {
|
a {
|
||||||
padding: 0.75rem;
|
padding: 0.75rem;
|
||||||
}
|
}
|
||||||
@@ -184,6 +187,7 @@
|
|||||||
@formLabelWidth: 10rem;
|
@formLabelWidth: 10rem;
|
||||||
@formItemWidth: 40rem;
|
@formItemWidth: 40rem;
|
||||||
@sectionMargin: 1rem;
|
@sectionMargin: 1rem;
|
||||||
|
margin: @sectionMargin;
|
||||||
fieldset {
|
fieldset {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
@@ -262,6 +266,41 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 720px) {
|
@media screen and (max-width: 720px) {
|
||||||
|
html body {
|
||||||
|
@boxHeight: 2.5rem;
|
||||||
|
& > header {
|
||||||
|
height: @boxHeight;
|
||||||
|
font-size: @boxHeight;
|
||||||
|
text-align: center;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
& > nav {
|
||||||
|
.hamburgerMenu();
|
||||||
|
}
|
||||||
|
main section header {
|
||||||
|
h1, h2 {
|
||||||
|
text-align: center;
|
||||||
|
margin: 0.5rem auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
margin: 1rem 0;
|
||||||
|
td, th {
|
||||||
|
padding: 0.25rem;
|
||||||
|
}
|
||||||
|
colgroup:not(:first-child) col:first-child{
|
||||||
|
border-left: solid thin;
|
||||||
|
}
|
||||||
|
thead {
|
||||||
|
th {
|
||||||
|
font-size: 100%;
|
||||||
|
font-weight: bold;
|
||||||
|
.hyphens();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,3 @@
|
|||||||
.clearfix() {
|
|
||||||
&:after {
|
|
||||||
content: ".";
|
|
||||||
display: block;
|
|
||||||
height: 0;
|
|
||||||
line-height: 0;
|
|
||||||
clear: both;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.hyphens() {
|
.hyphens() {
|
||||||
-webkit-hyphens: auto;
|
-webkit-hyphens: auto;
|
||||||
-moz-hyphens: auto;
|
-moz-hyphens: auto;
|
||||||
@@ -59,27 +48,22 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mywrap() {
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hamburgerMenu() {
|
.hamburgerMenu() {
|
||||||
color: white;
|
color: white;
|
||||||
width: 3rem;
|
width: 3rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
top: 0.5rem;
|
top: 0.25rem;
|
||||||
right: 0.5rem;
|
left: 0.25rem;
|
||||||
left: auto;
|
|
||||||
.border-radius(4px);
|
.border-radius(4px);
|
||||||
border: none;
|
border: none;
|
||||||
.vertical-gradient(#555; #000);
|
.vertical-gradient(@mainColorDark; @mainColor);
|
||||||
> ul {
|
> ul {
|
||||||
height: auto;
|
height: auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
left: 0;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
background: fade(black,80%);
|
background: fade(@mainColorDark,80%);
|
||||||
.border-radius(5px);
|
.border-radius(5px);
|
||||||
display: none;
|
display: none;
|
||||||
> li {
|
> li {
|
||||||
@@ -100,7 +84,7 @@
|
|||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: white;
|
color: white;
|
||||||
.vertical-gradient(#59b4fd; #0560e8);
|
.vertical-gradient(@mainColorLight; @mainColor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:first-child {
|
&:first-child {
|
||||||
@@ -115,7 +99,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:hover, &:focus, &:active {
|
&:hover, &:focus, &:active, &:checked {
|
||||||
ul {
|
ul {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@@ -130,19 +114,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.transition(@property) {
|
|
||||||
-moz-transition: ~"@{property}";
|
|
||||||
-webkit-transition: ~"@{property}";
|
|
||||||
-o-transition: ~"@{property}";
|
|
||||||
-ms-transition: ~"@{property}";
|
|
||||||
transition: ~"@{property}";
|
|
||||||
-moz-transition-duration: 0.5s;
|
|
||||||
-webkit-transition-duration: 0.5s;
|
|
||||||
-o-transition-duration: 0.5s;
|
|
||||||
-ms-transition-duration: 0.5s;
|
|
||||||
transition-duration: 0.5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flexEltern() {
|
.flexEltern() {
|
||||||
display:-ms-flexbox;
|
display:-ms-flexbox;
|
||||||
display: flexbox;
|
display: flexbox;
|
||||||
@@ -172,17 +143,3 @@
|
|||||||
flex: @num;
|
flex: @num;
|
||||||
flex-grow: @num;
|
flex-grow: @num;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background-size(...) {
|
|
||||||
-webkit-background-size: @arguments;
|
|
||||||
-moz-background-size: @arguments;
|
|
||||||
background-size: @arguments;
|
|
||||||
}
|
|
||||||
|
|
||||||
.transform(...) {
|
|
||||||
-ms-transform: @arguments;
|
|
||||||
-webkit-transform: @arguments;
|
|
||||||
-o-transform: @arguments;
|
|
||||||
-moz-transform: @arguments;
|
|
||||||
transform: @arguments;
|
|
||||||
}
|
|
||||||
@@ -75,9 +75,6 @@ section article {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.http-error {
|
&.http-error {
|
||||||
header {
|
display: none;
|
||||||
background: hsl(340, 90%, 50%);
|
|
||||||
color: hsl(0, 0%, 95%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,17 +21,15 @@ html {
|
|||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
> nav {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
> footer {
|
> footer {
|
||||||
color: contrast(@mainColor);
|
color: contrast(@mainColor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#inhalts-bereich {
|
|
||||||
background-color: @mainColorLight;
|
|
||||||
color: @mainColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
main {
|
||||||
* {
|
* {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
@@ -46,22 +44,10 @@ main {
|
|||||||
h1, h2 {
|
h1, h2 {
|
||||||
margin: @sectionMargin;
|
margin: @sectionMargin;
|
||||||
}
|
}
|
||||||
p, ul, ol, dl {
|
p {
|
||||||
margin: @sectionMargin;
|
margin: @sectionMargin;
|
||||||
text-indent: @sectionMargin * 2;
|
text-indent: @sectionMargin * 2;
|
||||||
}
|
}
|
||||||
ul, ol {
|
|
||||||
margin: initial;
|
|
||||||
li {
|
|
||||||
margin: initial;
|
|
||||||
padding: initial;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dl {
|
|
||||||
dd {
|
|
||||||
margin-left: 2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
table {
|
table {
|
||||||
colgroup:not(:first-child) col:first-child{
|
colgroup:not(:first-child) col:first-child{
|
||||||
border-left: solid medium;
|
border-left: solid medium;
|
||||||
@@ -86,70 +72,10 @@ main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
form {
|
form {
|
||||||
@formLabelWidth: 10rem;
|
display: none;
|
||||||
@formItemWidth: 40rem;
|
|
||||||
fieldset {
|
|
||||||
width: @formItemWidth + @formLabelWidth + 2rem;
|
|
||||||
margin: 1rem auto;
|
|
||||||
border-style: solid ;
|
|
||||||
padding: @sectionMargin;
|
|
||||||
&.tasten {
|
|
||||||
border: none;
|
|
||||||
background-color: @mainColorLight;
|
|
||||||
}
|
|
||||||
legend {
|
|
||||||
margin: @sectionMargin;
|
|
||||||
margin-left: @sectionMargin * 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
div.zelle {
|
|
||||||
& > label {
|
|
||||||
width: @formLabelWidth;
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0.5rem;
|
|
||||||
}
|
|
||||||
input, textarea {
|
|
||||||
display: inline-block;
|
|
||||||
width: @formItemWidth;
|
|
||||||
padding: 0.25rem;
|
|
||||||
margin-bottom: 1.0rem;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: thin;
|
|
||||||
}
|
|
||||||
div.radio-button {
|
|
||||||
padding-left: 20%;
|
|
||||||
label, input {
|
|
||||||
display: inline;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
input {
|
|
||||||
margin-top: inherit;
|
|
||||||
margin-right: 1rem;
|
|
||||||
margin-left: 1rem;
|
|
||||||
margin-bottom: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
textarea {
|
|
||||||
height: 10rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
@farbeHintergrund: @mainColorLight;
|
display: none;
|
||||||
@farbeHintergrundHell: lighten(@farbeHintergrund,50%,relativ);
|
|
||||||
@farbeText: spin(lighten(@farbeHintergrund,66%,relativ),@mainColor);
|
|
||||||
@farbeSchatten: fade(@farbeHintergrund,50%);
|
|
||||||
height: 2.5em;
|
|
||||||
.border-radius(1.25em);
|
|
||||||
padding: 0.5em 1.25em;
|
|
||||||
.vertical-gradient(@farbeHintergrundHell,@farbeHintergrund);
|
|
||||||
.box-shadow(0.1em 0.2em 0.5em @farbeSchatten);
|
|
||||||
color: @farbeText;
|
|
||||||
font-weight: bold;
|
|
||||||
&:hover {
|
|
||||||
.vertical-gradient(@farbeHintergrund,@farbeHintergrundHell);
|
|
||||||
}
|
|
||||||
margin: 0.25rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
footer {
|
footer {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@@ -171,48 +97,3 @@ main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
|
||||||
background: @subColorLight ;
|
|
||||||
li {
|
|
||||||
background: @mainColorLight;
|
|
||||||
color: @mainColor;
|
|
||||||
font-weight: bold ;
|
|
||||||
&:not(:first-child) {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
padding: 1.25rem .5rem;
|
|
||||||
text-decoration: none;
|
|
||||||
color: @mainColor;
|
|
||||||
&:hover, &:active, &:focus {
|
|
||||||
color: darken(@mainColor,10%,relative);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:hover, &:active, &:focus {
|
|
||||||
background: lighten(@mainColor,10%,relative);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
form {
|
|
||||||
@paddingForm: 0.5rem;
|
|
||||||
@paddingInput: @paddingForm/2;
|
|
||||||
background: @mainColorLight;
|
|
||||||
color: @mainColor;
|
|
||||||
padding: 2 * @paddingForm @paddingForm;
|
|
||||||
input {
|
|
||||||
display: block;
|
|
||||||
width: @mainColor - (@paddingForm + @paddingInput) * 2 ;
|
|
||||||
border: none;
|
|
||||||
margin-bottom: @paddingForm;
|
|
||||||
padding: @paddingInput;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
line-height: 1.5em;
|
|
||||||
text-align: left;
|
|
||||||
.hyphens();
|
|
||||||
margin: 1em;
|
|
||||||
font-size: 85%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -0,0 +1,110 @@
|
|||||||
|
<script context="module">
|
||||||
|
const MyFetch = {
|
||||||
|
'post': async (rest_url, request_body) => {
|
||||||
|
return MyFetch._fetch(rest_url, MyFetch._buildRequestOptions(request_body), {})
|
||||||
|
},
|
||||||
|
'put': async (rest_url, http_body) => {
|
||||||
|
return MyFetch._fetch(rest_url, MyFetch._buildRequestOptions(http_body, true), {})
|
||||||
|
},
|
||||||
|
'get': async (rest_url, query_parameters) => {
|
||||||
|
if (query_parameters !== null) {
|
||||||
|
let filter = []
|
||||||
|
for (let parameter in query_parameters) {
|
||||||
|
filter.push(parameter + '=' + query_parameters[parameter])
|
||||||
|
}
|
||||||
|
if (filter.length > 0) {
|
||||||
|
rest_url += '?' + filter.join('&')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return MyFetch._fetch(rest_url, {})
|
||||||
|
},
|
||||||
|
'_fetch': async (rest_url, request_options) => {
|
||||||
|
// noinspection JSUnresolvedVariable
|
||||||
|
let response = await MyFetch._pureFetch(rest_url, request_options).catch(err => {
|
||||||
|
console.error(err)
|
||||||
|
return null
|
||||||
|
})
|
||||||
|
if (!response.ok) {
|
||||||
|
throw new Error('Fail!')
|
||||||
|
}
|
||||||
|
return response.json()
|
||||||
|
},
|
||||||
|
'_buildRequestOptions': (request_body, needPut) => {
|
||||||
|
return {
|
||||||
|
method: (needPut === true) ? 'PUT' : 'POST',
|
||||||
|
mode: 'cors',
|
||||||
|
cache: 'no-cache',
|
||||||
|
credentials: 'omit',
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
|
body: request_body,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'_pureFetch': async (rest_url, request_options) => {
|
||||||
|
// noinspection JSUnresolvedVariable
|
||||||
|
return await fetch(env.API_URL + rest_url, request_options)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export const WorkingHoursRepository = {
|
||||||
|
'browse': (startDate = '', endDate = '') => {
|
||||||
|
let filter = {}
|
||||||
|
if (startDate !== '') {
|
||||||
|
filter['start-date'] = startDate
|
||||||
|
}
|
||||||
|
if (endDate !== '') {
|
||||||
|
filter['end-date'] = endDate
|
||||||
|
}
|
||||||
|
return MyFetch.get('/working-hours', filter)
|
||||||
|
},
|
||||||
|
|
||||||
|
'read': date => {
|
||||||
|
return MyFetch.get('/working-hours/' + date)
|
||||||
|
},
|
||||||
|
|
||||||
|
'readOrNew': async date => {
|
||||||
|
let response = await MyFetch._pureFetch('/working-hours/' + date)
|
||||||
|
if (response.status === 404) {
|
||||||
|
return {workingTime: '00:00:00', workingDay: date}
|
||||||
|
} else if (!response.ok) {
|
||||||
|
throw new Error('Fail!')
|
||||||
|
}
|
||||||
|
return response.json()
|
||||||
|
},
|
||||||
|
|
||||||
|
'add': async (record) => {
|
||||||
|
console.debug(record);
|
||||||
|
return MyFetch.post('/working-hours', JSON.stringify(record))
|
||||||
|
},
|
||||||
|
|
||||||
|
'update': async (date, record) => {
|
||||||
|
console.debug(record);
|
||||||
|
return MyFetch.put('/working-hours/' + date, JSON.stringify(record))
|
||||||
|
},
|
||||||
|
|
||||||
|
'addOrUpdate': async (date, record) => {
|
||||||
|
console.debug(record);
|
||||||
|
let request_options = MyFetch._buildRequestOptions(JSON.stringify(record))
|
||||||
|
let response = await MyFetch._pureFetch('/working-hours', request_options)
|
||||||
|
if (response.status === 409) {
|
||||||
|
return WorkingHoursRepository.update(date, record)
|
||||||
|
} else if (!response.ok) {
|
||||||
|
throw new Error('Fail!')
|
||||||
|
}
|
||||||
|
return response.json()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export const WorkingHoursViewsRepository = {
|
||||||
|
'weekly': async () => {
|
||||||
|
return MyFetch.get('/views/working-hours/weekly')
|
||||||
|
},
|
||||||
|
'monthly': async () => {
|
||||||
|
return MyFetch.get('/views/working-hours/monthly')
|
||||||
|
},
|
||||||
|
'yearly': async () => {
|
||||||
|
return MyFetch.get('/views/working-hours/yearly')
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<script context="module">
|
||||||
|
export class TimekeepingDate extends Date {
|
||||||
|
getDateString() {
|
||||||
|
return this.getFullYear() + "-"
|
||||||
|
+ (this.getMonth() + 1).toString().padStart(2, '0') + "-"
|
||||||
|
+ this.getDate().toString().padStart(2, '0')
|
||||||
|
}
|
||||||
|
|
||||||
|
getNextDay() {
|
||||||
|
let nextDay = new TimekeepingDate(this);
|
||||||
|
nextDay.setDate(this.getDate() + 1)
|
||||||
|
return nextDay
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<Views />
|
<WeeklyViews />
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Views from "./WeeklyViews.svelte";
|
import WeeklyViews from "./WeeklyViews.svelte";
|
||||||
|
export const params = {};
|
||||||
</script>
|
</script>
|
||||||
@@ -1,31 +1,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import Views from "./Views.svelte";
|
import Views from "./Views.svelte";
|
||||||
export let params;
|
import {WorkingHoursViewsRepository} from "../components/Repositories.svelte";
|
||||||
|
export let params
|
||||||
params = {
|
params = {
|
||||||
title: 'Monatsansicht',
|
title: 'Monatsansicht',
|
||||||
records: [],
|
promise: WorkingHoursViewsRepository.monthly()
|
||||||
isLoading: true
|
|
||||||
}
|
}
|
||||||
const View = {
|
|
||||||
'browse': () => {
|
|
||||||
fetch(env.API_URL + '/views/working-hours/monthly')
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
return res.json();
|
|
||||||
})
|
|
||||||
.then(data => {
|
|
||||||
params.records = data;
|
|
||||||
params.isLoading = false;
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
params.isLoading = false;
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
View.browse();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Views {params} />
|
<Views {params} />
|
||||||
@@ -1,6 +1,22 @@
|
|||||||
<script>
|
<script>
|
||||||
export let params;
|
export let params = {};
|
||||||
|
let records = []
|
||||||
|
let isLoading = true
|
||||||
console.log(params)
|
console.log(params)
|
||||||
|
if (!String.prototype.startsWith) {
|
||||||
|
String.prototype.startsWith = function(searchString, position) {
|
||||||
|
position = position || 0;
|
||||||
|
return this.indexOf(searchString, position) === position;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
$: isNegative = time => time.startsWith('-') ? 'absence-time' : '';
|
||||||
|
$: cutMinusChar = time => time.startsWith('-') ? time.substr(1) : time;
|
||||||
|
|
||||||
|
const init = async () => await params.promise.then(data => {
|
||||||
|
records = data
|
||||||
|
isLoading = false
|
||||||
|
})
|
||||||
|
init()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
@@ -12,7 +28,7 @@
|
|||||||
<h1>{params.title}</h1>
|
<h1>{params.title}</h1>
|
||||||
</header>
|
</header>
|
||||||
<article>
|
<article>
|
||||||
{#if params.isLoading === true}
|
{#if isLoading === true}
|
||||||
<p>Loading...</p>
|
<p>Loading...</p>
|
||||||
{:else}
|
{:else}
|
||||||
<table>
|
<table>
|
||||||
@@ -31,12 +47,12 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{#each params.records as record}
|
{#each records as record}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{record.period}</td>
|
<td>{record.period}</td>
|
||||||
<td>{record.workingDays}</td>
|
<td>{record.workingDays}</td>
|
||||||
<td>{record.totalHours}</td>
|
<td>{record.totalHours}</td>
|
||||||
<td>{record.overtime}</td>
|
<td class="{ isNegative(record.overtime) }">{cutMinusChar(record.overtime)}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/each}
|
{/each}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -1,31 +1,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import Views from "./Views.svelte";
|
import Views from "./Views.svelte";
|
||||||
export let params;
|
import {WorkingHoursViewsRepository} from "../components/Repositories.svelte";
|
||||||
|
export let params
|
||||||
params = {
|
params = {
|
||||||
title: 'Wochenansicht',
|
title: 'Wochenansicht',
|
||||||
records: [],
|
promise: WorkingHoursViewsRepository.weekly()
|
||||||
isLoading: true
|
|
||||||
}
|
}
|
||||||
const View = {
|
|
||||||
'browse': () => {
|
|
||||||
fetch(env.API_URL + '/views/working-hours/weekly')
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
return res.json();
|
|
||||||
})
|
|
||||||
.then(data => {
|
|
||||||
params.records = data;
|
|
||||||
params.isLoading = false;
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
params.isLoading = false;
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
View.browse();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Views {params} />
|
<Views {params} />
|
||||||
@@ -1,216 +1,32 @@
|
|||||||
<script>
|
<script>
|
||||||
export let params;
|
import List from "./WorkingHours/List.svelte";
|
||||||
let title = "Bearbeitung Einträge"
|
import Formular from "./WorkingHours/Formular.svelte";
|
||||||
import IconifyIcon from '@iconify/svelte';
|
export const params = {};
|
||||||
import wrenchIcon from '@iconify-icons/oi/wrench';
|
|
||||||
import checkIcon from '@iconify-icons/oi/check';
|
let TITLE = "Bearbeitung Einträge"
|
||||||
import xIcon from '@iconify-icons/oi/x';
|
|
||||||
import documentIcon from '@iconify-icons/oi/document';
|
|
||||||
let activeRecord = null;
|
let activeRecord = null;
|
||||||
let newRecord = false;
|
|
||||||
params = {
|
|
||||||
title: 'Einträge',
|
|
||||||
records: [],
|
|
||||||
isLoading: true
|
|
||||||
}
|
|
||||||
const Records = {
|
|
||||||
'browse': () => {
|
|
||||||
// noinspection JSUnresolvedVariable
|
|
||||||
fetch(env.API_URL + '/working-hours')
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
return res.json();
|
|
||||||
})
|
|
||||||
.then(data => {
|
|
||||||
Controller.cancelActiveRecord();
|
|
||||||
params.records = data;
|
|
||||||
params.isLoading = false;
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
params.isLoading = false;
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
'read': date => {
|
|
||||||
// noinspection JSUnresolvedVariable
|
|
||||||
fetch(env.API_URL + '/working-hours/' + date)
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
return res.json();
|
|
||||||
})
|
|
||||||
.then(data => {
|
|
||||||
activeRecord = data;
|
|
||||||
if (date === null) {
|
|
||||||
Controller.listRecords();
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
'add': async record => {
|
|
||||||
console.log(record);
|
|
||||||
// noinspection JSUnresolvedVariable
|
|
||||||
await fetch(env.API_URL + '/working-hours', {
|
|
||||||
method: 'POST',
|
|
||||||
mode: 'cors',
|
|
||||||
cache: 'no-cache',
|
|
||||||
credentials: 'omit',
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
},
|
|
||||||
body: JSON.stringify(record)
|
|
||||||
})
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.then(() => {
|
|
||||||
Controller.listRecords();
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
'update': async (date, record) => {
|
|
||||||
console.log(record);
|
|
||||||
// noinspection JSUnresolvedVariable
|
|
||||||
await fetch(env.API_URL + '/working-hours/' + date, {
|
|
||||||
method: 'PUT',
|
|
||||||
mode: 'cors',
|
|
||||||
cache: 'no-cache',
|
|
||||||
credentials: 'omit',
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
},
|
|
||||||
body: JSON.stringify(record)
|
|
||||||
})
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.then(() => {
|
|
||||||
Controller.listRecords();
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const Controller = {
|
|
||||||
'listRecords': () => {
|
|
||||||
Controller.cancelActiveRecord();
|
|
||||||
Records.browse();
|
|
||||||
},
|
|
||||||
'newRecord': () => {
|
|
||||||
activeRecord = {workingTime: '00:00:00'};
|
|
||||||
newRecord = true;
|
|
||||||
},
|
|
||||||
'saveRecord': () => {
|
|
||||||
if (newRecord === true) {
|
|
||||||
Records.add(activeRecord);
|
|
||||||
} else {
|
|
||||||
Records.update(activeRecord.workingDay, activeRecord);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'selectActiveRecord': record => Records.read(record.workingDay),
|
|
||||||
'cancelActiveRecord': () => {
|
|
||||||
activeRecord = null;
|
|
||||||
newRecord = false;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const initSite = () => {
|
|
||||||
Controller.listRecords()
|
|
||||||
};
|
|
||||||
initSite()
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>{title}</title>
|
<title>{TITLE}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
{#if activeRecord === null}
|
{#if activeRecord === null}
|
||||||
<section id="list-records">
|
<section id="list-records">
|
||||||
<header>
|
<header>
|
||||||
<h1>{title}</h1>
|
<h1>{TITLE}</h1>
|
||||||
</header>
|
</header>
|
||||||
<article>
|
<article>
|
||||||
{#if params.isLoading === true}
|
<List bind:activeRecord={activeRecord}/>
|
||||||
<p>Loading...</p>
|
|
||||||
{:else}
|
|
||||||
<!--suppress HtmlUnknownTarget -->
|
|
||||||
<form action="/working-hours">
|
|
||||||
<fieldset>
|
|
||||||
<button on:click={Controller.newRecord} type="button">Neuer Eintrag
|
|
||||||
<IconifyIcon icon={documentIcon}/>
|
|
||||||
</button>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
|
||||||
<col />
|
|
||||||
<col />
|
|
||||||
<col />
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Datum</th>
|
|
||||||
<th>Arbeitsstunden</th>
|
|
||||||
<th>Aktionen</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{#each params.records as record}
|
|
||||||
<tr>
|
|
||||||
<td>{record.workingDay}</td>
|
|
||||||
<td>{record.workingTime}</td>
|
|
||||||
<td>
|
|
||||||
<button on:click={() => Controller.selectActiveRecord(record)} type="button">Bearbeiten
|
|
||||||
<IconifyIcon icon={wrenchIcon}/>
|
|
||||||
</button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{/each}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
{/if}
|
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
{:else}
|
{:else}
|
||||||
<section id="edit-record">
|
<section id="edit-record">
|
||||||
<header>
|
<header>
|
||||||
<h1>{title}</h1>
|
<h1>{TITLE}</h1>
|
||||||
</header>
|
</header>
|
||||||
<article>
|
<article>
|
||||||
<!--suppress HtmlUnknownTarget -->
|
<Formular bind:activeRecord={activeRecord}/>
|
||||||
<form action="/working-hours" name="editRecord">
|
|
||||||
<fieldset name="record-data">
|
|
||||||
<div>
|
|
||||||
<label for="workingDay">Arbeitstag</label>
|
|
||||||
<input bind:value={activeRecord.workingDay} type="date"
|
|
||||||
id="workingDay" required pattern="\d\{4}-[0-1]\d-[0-3]\d\">
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<label for="workingTime">Arbeitszeit</label>
|
|
||||||
<input bind:value={activeRecord.workingTime} placeholder="Arbeitszeit" type="time"
|
|
||||||
id="workingTime" required pattern="[0-5]\d:[0-5]\d:[0-5]\d">
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
<fieldset name="buttons">
|
|
||||||
<button on:click={Controller.saveRecord} type="button">Übernehmen
|
|
||||||
<IconifyIcon icon={checkIcon} color="green"/>
|
|
||||||
</button>
|
|
||||||
<button on:click={Controller.cancelActiveRecord} type="button" class="sub-button">Abbrechen
|
|
||||||
<IconifyIcon icon={xIcon}/>
|
|
||||||
</button>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -0,0 +1,110 @@
|
|||||||
|
<script>
|
||||||
|
import {WorkingHoursRepository} from "../../components/Repositories.svelte"
|
||||||
|
import IconifyIcon from '@iconify/svelte'
|
||||||
|
import checkIcon from '@iconify-icons/oi/check'
|
||||||
|
import xIcon from '@iconify-icons/oi/x'
|
||||||
|
import EditByDay from "./Formular/EditByDay.svelte";
|
||||||
|
import EditByWeek from "./Formular/EditByWeek.svelte";
|
||||||
|
import {TimekeepingDate} from "../../components/TimekeepingDate.svelte";
|
||||||
|
|
||||||
|
const DAILY_EDIT = 0
|
||||||
|
const WEEKLY_EDIT = 1
|
||||||
|
|
||||||
|
const Controller = {
|
||||||
|
'saveRecord': () => {
|
||||||
|
activeRecordList.forEach((actualRecord) => {
|
||||||
|
if (actualRecord.workingTime === '00:00:00') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
WorkingHoursRepository.addOrUpdate(actualRecord.workingDay, actualRecord);
|
||||||
|
})
|
||||||
|
activeDate = nextDate
|
||||||
|
makeTimekeepingList()
|
||||||
|
},
|
||||||
|
'cancelActiveRecord': () => {
|
||||||
|
activeRecordList = []
|
||||||
|
activeRecord = null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const WeekController = {
|
||||||
|
'makeTimekeepingList': () => {
|
||||||
|
let actualDay = WeekController.getMondayFromWeek(
|
||||||
|
activeDate === null ? new TimekeepingDate() : new TimekeepingDate(activeDate)
|
||||||
|
)
|
||||||
|
activeRecordList = []
|
||||||
|
activeDate = actualDay.getDateString()
|
||||||
|
for (const daysDiff in [0, 1, 2, 3, 4, 5, 6]) {
|
||||||
|
activeRecordList.push({workingTime: '00:00:00', workingDay: actualDay.getDateString()})
|
||||||
|
actualDay = actualDay.getNextDay()
|
||||||
|
}
|
||||||
|
nextDate = actualDay.getDateString()
|
||||||
|
WorkingHoursRepository.browse(activeRecordList[0].workingDay, activeRecordList[6].workingDay).then(data => {
|
||||||
|
data.forEach(item => {
|
||||||
|
let actualDay = new TimekeepingDate(item.workingDay)
|
||||||
|
activeRecordList[actualDay.getDay()-1].workingTime = item.workingTime
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
'getMondayFromWeek': actualDayObject => {
|
||||||
|
if (actualDayObject.getDate() === 0) {
|
||||||
|
actualDayObject.setDate(actualDayObject.getDate() - 7)
|
||||||
|
}
|
||||||
|
if (actualDayObject.getDate() !== 1) {
|
||||||
|
actualDayObject.setDate(actualDayObject.getDate() - (actualDayObject.getDay() - 1))
|
||||||
|
}
|
||||||
|
return actualDayObject
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const DayController = {
|
||||||
|
'makeTimekeepingList': () => {
|
||||||
|
let actualDay = activeDate === null ? new TimekeepingDate() : new TimekeepingDate(activeDate)
|
||||||
|
WorkingHoursRepository.readOrNew(actualDay.getDateString()).then(data => {
|
||||||
|
activeRecordList = [ data ]
|
||||||
|
activeDate = actualDay.getDateString()
|
||||||
|
nextDate = actualDay.getNextDay().getDateString()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const MenuController = {
|
||||||
|
'dailyEdit': () => {
|
||||||
|
period_of_edit = DAILY_EDIT
|
||||||
|
makeTimekeepingList = DayController.makeTimekeepingList
|
||||||
|
makeTimekeepingList()
|
||||||
|
},
|
||||||
|
'weeklyEdit': () => {
|
||||||
|
period_of_edit = WEEKLY_EDIT
|
||||||
|
makeTimekeepingList = WeekController.makeTimekeepingList
|
||||||
|
makeTimekeepingList()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let activeDate = null
|
||||||
|
let nextDate = null
|
||||||
|
let activeRecordList = []
|
||||||
|
export let activeRecord = null
|
||||||
|
let period_of_edit
|
||||||
|
let makeTimekeepingList
|
||||||
|
|
||||||
|
MenuController.dailyEdit()
|
||||||
|
</script>
|
||||||
|
<!--suppress HtmlUnknownTarget -->
|
||||||
|
<form action="/working-hours" name="editRecord">
|
||||||
|
<nav class="menu">
|
||||||
|
<span on:click={MenuController.dailyEdit} class:active={period_of_edit === DAILY_EDIT}>Täglich</span>
|
||||||
|
<span on:click={MenuController.weeklyEdit} class:active={period_of_edit === WEEKLY_EDIT}>Wöchentlich</span>
|
||||||
|
</nav>
|
||||||
|
{#if period_of_edit === DAILY_EDIT}
|
||||||
|
<EditByDay bind:activeRecordList bind:activeDate bind:makeTimekeepingList/>
|
||||||
|
{/if}
|
||||||
|
{#if period_of_edit === WEEKLY_EDIT}
|
||||||
|
<EditByWeek bind:activeRecordList bind:activeDate bind:makeTimekeepingList/>
|
||||||
|
{/if}
|
||||||
|
<fieldset name="buttons">
|
||||||
|
<button on:click={Controller.saveRecord} type="button">Übernehmen und Weiter
|
||||||
|
<IconifyIcon icon={checkIcon} color="green"/>
|
||||||
|
</button>
|
||||||
|
<button on:click={Controller.cancelActiveRecord} type="button" class="sub-button">Abbrechen
|
||||||
|
<IconifyIcon icon={xIcon}/>
|
||||||
|
</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<script>
|
||||||
|
export let activeDate = null
|
||||||
|
export let activeRecordList = []
|
||||||
|
export let makeTimekeepingList = () => {}
|
||||||
|
|
||||||
|
makeTimekeepingList()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#if activeRecordList.length < 1}
|
||||||
|
<p>Loading...</p>
|
||||||
|
{:else}
|
||||||
|
<fieldset name="record-data-by-day">
|
||||||
|
<div>
|
||||||
|
<label for="workingDay">Arbeitstag</label>
|
||||||
|
<input bind:value={activeDate} type="date" on:change={makeTimekeepingList}
|
||||||
|
id="workingDay" required pattern="\d\{4}-[0-1]\d-[0-3]\d\">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label for="workingTime">Arbeitszeit</label>
|
||||||
|
<input bind:value={activeRecordList[0].workingTime} placeholder="Arbeitszeit" type="time"
|
||||||
|
id="workingTime" required pattern="[0-5]\d:[0-5]\d:[0-5]\d">
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
{/if}
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
<script>
|
||||||
|
export let activeDate = null
|
||||||
|
export let activeRecordList = []
|
||||||
|
export let makeTimekeepingList = () => {}
|
||||||
|
|
||||||
|
makeTimekeepingList()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
tbody.weekend td input, tbody.weekend td {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
input#monday {
|
||||||
|
display: inline;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
{#if activeRecordList.length < 1}
|
||||||
|
<p>Loading...</p>
|
||||||
|
{:else}
|
||||||
|
<fieldset name="how-week-is-use">
|
||||||
|
<div>
|
||||||
|
<label for="monday">Woche vom</label>
|
||||||
|
<input bind:value={activeDate} type="date" on:change={makeTimekeepingList}
|
||||||
|
id="monday" required pattern="\d\{4}-[0-1]\d-[0-3]\d\">
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset name="record-data-by-week">
|
||||||
|
<div>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
{#each ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag'] as day, index}
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
{day}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input bind:value={activeRecordList[index].workingTime} placeholder="Arbeitszeit" type="time"
|
||||||
|
required pattern="[0-5]\d:[0-5]\d:[0-5]\d">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{/each}
|
||||||
|
</tbody>
|
||||||
|
<tbody class="weekend">
|
||||||
|
{#each ['Samstag', 'Sontag'] as day, index}
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
{day}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input bind:value={activeRecordList[index+5].workingTime} placeholder="Arbeitszeit" type="time"
|
||||||
|
required pattern="[0-5]\d:[0-5]\d:[0-5]\d">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{/each}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
{/if}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
<script>
|
||||||
|
import {WorkingHoursRepository} from "../../components/Repositories.svelte"
|
||||||
|
import {TimekeepingDate} from "../../components/TimekeepingDate.svelte"
|
||||||
|
|
||||||
|
export let activeRecord = null
|
||||||
|
let isLoading = true
|
||||||
|
let records = []
|
||||||
|
import IconifyIcon from '@iconify/svelte'
|
||||||
|
import wrenchIcon from '@iconify-icons/oi/wrench'
|
||||||
|
import documentIcon from '@iconify-icons/oi/document'
|
||||||
|
|
||||||
|
const Controller = {
|
||||||
|
'listRecords': () => {
|
||||||
|
Controller.cancelActiveRecord();
|
||||||
|
WorkingHoursRepository.browse().then(data => {
|
||||||
|
Controller.cancelActiveRecord()
|
||||||
|
records = data
|
||||||
|
isLoading = false
|
||||||
|
});
|
||||||
|
},
|
||||||
|
'newRecord': async () => {
|
||||||
|
const actDate = new TimekeepingDate()
|
||||||
|
activeRecord = await WorkingHoursRepository.readOrNew(actDate.getDateString())
|
||||||
|
},
|
||||||
|
'selectActiveRecord': record => WorkingHoursRepository.read(record.workingDay).then(data => {
|
||||||
|
if (data === null) {
|
||||||
|
Controller.listRecords()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
activeRecord = data;
|
||||||
|
}),
|
||||||
|
'cancelActiveRecord': () => {
|
||||||
|
activeRecord = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Controller.listRecords()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!--suppress HtmlUnknownTarget -->
|
||||||
|
<form action="/working-hours">
|
||||||
|
<fieldset>
|
||||||
|
<button on:click={Controller.newRecord} type="button">Neuer Eintrag
|
||||||
|
<IconifyIcon icon={documentIcon}/>
|
||||||
|
</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
{#if isLoading === true}
|
||||||
|
<p>Loading...</p>
|
||||||
|
{:else}
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col/>
|
||||||
|
<col/>
|
||||||
|
<col/>
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Datum</th>
|
||||||
|
<th>Arbeitsstunden</th>
|
||||||
|
<th>Aktionen</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{#each records as record}
|
||||||
|
<tr>
|
||||||
|
<td>{record.workingDay}</td>
|
||||||
|
<td>{record.workingTime}</td>
|
||||||
|
<td>
|
||||||
|
<button on:click={() => Controller.selectActiveRecord(record)} type="button">Bearbeiten
|
||||||
|
<IconifyIcon icon={wrenchIcon}/>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{/each}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
{/if}
|
||||||
@@ -1,31 +1,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import Views from "./Views.svelte";
|
import Views from "./Views.svelte";
|
||||||
export let params;
|
import {WorkingHoursViewsRepository} from "../components/Repositories.svelte";
|
||||||
|
export let params
|
||||||
params = {
|
params = {
|
||||||
title: 'Jahresansicht',
|
title: 'Jahresansicht',
|
||||||
records: [],
|
promise: WorkingHoursViewsRepository.yearly()
|
||||||
isLoading: true
|
|
||||||
}
|
}
|
||||||
const View = {
|
|
||||||
'browse': () => {
|
|
||||||
fetch(env.API_URL + '/views/working-hours/yearly')
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
throw new Error('Fail!');
|
|
||||||
}
|
|
||||||
return res.json();
|
|
||||||
})
|
|
||||||
.then(data => {
|
|
||||||
params.records = data;
|
|
||||||
params.isLoading = false;
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
params.isLoading = false;
|
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
View.browse();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Views {params} />
|
<Views {params} />
|
||||||
Reference in New Issue
Block a user