removed remaining unit test for GUI

This commit is contained in:
Werner Masik
2023-04-14 15:51:58 +02:00
parent e462a71b6d
commit 29485a090b
13 changed files with 0 additions and 1682 deletions
@@ -1,40 +0,0 @@
<?php
require_once "application/libraries/vertragsbestandteil/gui/FormData.php";
use PHPUnit\Framework\TestCase;
class FormDataTest extends TestCase
{
public function setUp()
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
}
public function testMapJSON_01()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/stunden01.json');
$formDataMapper = new FormData();
$decoded = json_decode($jsondata, true);
$formDataMapper->mapJSON($decoded);
// Dienstverhaeltnis
$dataDV = $formDataMapper->getData();
$this->assertNotEmpty($dataDV);
$this->assertNotEmpty($dataDV['unternehmen']);
$this->assertEquals('gst', $dataDV['unternehmen']);
$this->assertNull($dataDV['dienstverhaeltnisid']);
$this->assertNotEmpty($dataDV['vertragsart_kurzbz']);
$this->assertEquals('echterdv', $dataDV['vertragsart_kurzbz']);
$this->assertNotEmpty($dataDV['gueltigkeit']);
$this->assertNotEmpty($dataDV['gueltigkeit']->getGuioptions());
$this->assertNotEmpty($dataDV['gueltigkeit']->getData());
$this->assertNotEmpty($dataDV['gueltigkeit']->getData()['gueltig_ab']);
// Vertragsbestandteile
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
}
}
@@ -1,39 +0,0 @@
<?php
require_once "application/libraries/vertragsbestandteil/gui/GUIVertragsbestandteilFunktion.php";
require_once "application/libraries/vertragsbestandteil/gui/FormData.php";
use PHPUnit\Framework\TestCase;
class GUIVertragsbestandteilFunktionTest extends TestCase
{
public function setUp()
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
}
public function testMapJSON_01()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/funktion01.json');
$decoded = json_decode($jsondata, true);
$formDataMapper = new FormData();
$formDataMapper->mapJSON($decoded);
// VBS
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
$this->assertNotEmpty($vbs['fc5f4ab8-4652-40e4-9ac3-e76bbf7310af']);
$vbsMapper = new GUIVertragsbestandteilFunktion();
$vbsMapper->mapJSON($vbs['fc5f4ab8-4652-40e4-9ac3-e76bbf7310af']);
$vbsData=$vbsMapper->getData();
$this->assertNotEmpty($vbsData['funktion']);
$this->assertEquals('Leitung', $vbsData['funktion']);
// GBS
$this->assertEmpty($vbsMapper->getGbs());
}
}
@@ -1,36 +0,0 @@
<?php
require_once "application/libraries/vertragsbestandteil/gui/GUIVertragsbestandteilKuendigungsfrist.php";
require_once "application/libraries/vertragsbestandteil/gui/FormData.php";
use PHPUnit\Framework\TestCase;
class GUIVertragsbestandteilKuendigungsfristTest extends TestCase
{
public function setUp()
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
}
public function testMapJSON_01()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/kuendigungsfrist01.json');
$decoded = json_decode($jsondata, true);
$formDataMapper = new FormData();
$formDataMapper->mapJSON($decoded);
// VBS
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
$this->assertNotEmpty($vbs['6ae61b45-99a8-406b-b583-9f0353dd834f']);
$vbsMapper = new GUIVertragsbestandteilKuendigungsfrist();
$vbsMapper->mapJSON($vbs['6ae61b45-99a8-406b-b583-9f0353dd834f']);
$vbsData=$vbsMapper->getData();
$this->assertNotEmpty($vbsData['arbeitgeber_frist']);
$this->assertNotEmpty($vbsData['arbeitnehmer_frist']);
}
}
@@ -1,77 +0,0 @@
<?php
require_once "application/libraries/vertragsbestandteil/gui/GUIVertragsbestandteilStunden.php";
require_once "application/libraries/vertragsbestandteil/gui/FormData.php";
use PHPUnit\Framework\TestCase;
class GUIVertragsbestandteilStundenTest extends TestCase
{
public function setUp()
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
}
public function testMapJSON_01()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/stunden01.json');
$decoded = json_decode($jsondata, true);
$formDataMapper = new FormData();
$formDataMapper->mapJSON($decoded);
// VBS
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
$this->assertNotEmpty($vbs['73a60d69-cbd5-40f0-bcb1-ed0ccdd4a9fd']);
$vbsMapper = new GUIVertragsbestandteilStunden();
$vbsMapper->mapJSON($vbs['73a60d69-cbd5-40f0-bcb1-ed0ccdd4a9fd']);
$vbsData=$vbsMapper->getData();
var_dump($vbsData);
$this->assertNotEmpty($vbsData['stunden']);
$this->assertEquals(38.5, $vbsData['stunden']);
// GBS
$this->assertNotEmpty($vbsMapper->getGbs());
foreach ($vbsMapper->getGbs() as $gbs)
{
$this->assertNotEmpty($gbs->getData());
$gbsData = $gbs->getData();
$this->assertNotEmpty($gbsData['gehaltstyp']);
$this->assertNotEmpty($gbsData['betrag']);
$this->assertNotEmpty($gbsData['gueltigkeit']);
$this->assertNotEmpty($gbsData['valorisierung']);
}
}
public function testMapJSON_02()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/funktion01.json');
$decoded = json_decode($jsondata, true);
$formDataMapper = new FormData();
$formDataMapper->mapJSON($decoded);
// VBS
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
$this->assertNotEmpty($vbs['98704748-0ef0-4a70-94b7-5d8e719c2b3e']);
$vbsMapper = new GUIVertragsbestandteilStunden();
$vbsMapper->mapJSON($vbs['98704748-0ef0-4a70-94b7-5d8e719c2b3e']);
$vbsData=$vbsMapper->getData();
$this->assertNotEmpty($vbsData['stunden']);
$this->assertEquals(38.5, $vbsData['stunden']);
$this->assertNotEmpty($vbsData['gueltigkeit']->getData());
// GBS
$this->assertNotEmpty($vbsMapper->getGbs());
foreach ($vbsMapper->getGbs() as $gbs)
{
$this->assertNotEmpty($gbs->getData());
$gbsData = $gbs->getData();
$this->assertNotEmpty($gbsData['gehaltstyp']);
$this->assertNotEmpty($gbsData['betrag']);
$this->assertNotEmpty($gbsData['gueltigkeit']);
$this->assertEmpty($gbsData['valorisierung']);
$this->assertNotEmpty($gbsData['gueltigkeit']->getData());
}
}
}
@@ -1,39 +0,0 @@
<?php
require_once "application/libraries/vertragsbestandteil/gui/GUIVertragsbestandteilZeitaufzeichnung.php";
require_once "application/libraries/vertragsbestandteil/gui/FormData.php";
use PHPUnit\Framework\TestCase;
class GUIVertragsbestandteilZeitaufzeichnungTest extends TestCase
{
public function setUp()
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
}
public function testMapJSON_01()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/zeitaufzeichnung01.json');
$decoded = json_decode($jsondata, true);
$formDataMapper = new FormData();
$formDataMapper->mapJSON($decoded);
// VBS
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
$this->assertNotEmpty($vbs['7625d25d-8fd9-476b-94a6-4fbb72c147d4']);
$vbsMapper = new GUIVertragsbestandteilZeitaufzeichnung();
$vbsMapper->mapJSON($vbs['7625d25d-8fd9-476b-94a6-4fbb72c147d4']);
$vbsData=$vbsMapper->getData();
$this->assertNotEmpty($vbsData['zeitaufzeichnung']);
$this->assertTrue($vbsData['zeitaufzeichnung']);
$this->assertEmpty($vbsData['azgrelevant']);
$this->assertNotEmpty($vbsData['homeoffice']);
$this->assertTrue($vbsData['homeoffice']);
}
}
@@ -1,41 +0,0 @@
<?php
require_once "application/libraries/vertragsbestandteil/gui/GUIVertragsbestandteilZusatzvereinbarung.php";
require_once "application/libraries/vertragsbestandteil/gui/FormData.php";
use PHPUnit\Framework\TestCase;
class GUIVertragsbestandteilZusatzvereinbarungTest extends TestCase
{
public function setUp()
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
}
public function testMapJSON_01()
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/zusatz01.json');
$decoded = json_decode($jsondata, true);
$formDataMapper = new FormData();
$formDataMapper->mapJSON($decoded);
// VBS
$vbs = $formDataMapper->getVbs();
$this->assertNotEmpty($vbs);
$this->assertNotEmpty($vbs['b168a3bb-d0e2-407f-8192-525a5ab59b22']);
$vbsMapper = new GUIVertragsbestandteilZusatzvereinbarung();
$vbsMapper->mapJSON($vbs['b168a3bb-d0e2-407f-8192-525a5ab59b22']);
$vbsData=$vbsMapper->getData();
$this->assertNotEmpty($vbsData['freitexttyp']);
$this->assertEquals('allin', $vbsData['freitexttyp']);
$this->assertNotEmpty($vbsData['titel']);
$this->assertEquals('Lorem ipsum', $vbsData['titel']);
// GBS
$this->assertEmpty($vbsMapper->getGbs());
}
}
@@ -1,41 +0,0 @@
<?php
require_once __DIR__ . "/../../../../application/libraries/vertragsbestandteil/gui/GUIHandler.php";
use PHPUnit\Framework\TestCase;
class GuiHandlerTest extends TestCase
{
protected $employeeUID = 'masik';
protected $userUID = 'user4712';
private static $CI;
public static function setUpBeforeClass(): void
{
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
self::$CI =& get_instance();
self::$CI->load->helper('hlp_common');
self::$CI->load->helper('hlp_return_object');
}
public function testHandleInsert(): void
{
$jsondata = file_get_contents('./system/UnitTests/vertragsbestandteil/gui/stunden01.json');
$this->assertNotEmpty($jsondata);
$GH = new GUIHandler($this->employeeUID, $this->userUID);
$res = $GH->handle($jsondata);
}
public function test_true()
{
$this->assertTrue(true);
}
}
@@ -1,241 +0,0 @@
{
"type": "formdata",
"children": [
{
"type": "tabs",
"guioptions": {},
"children": [
{
"type": "tab",
"guioptions": {
"title": "Allgemein",
"id": "allgemein"
},
"children": [
{
"type": "dv",
"guioptions": {},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist"
},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Befristung",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext",
"childdefaults": {
"guioptions": {
"canhavegehaltsbestandteile": false,
"disabled": [
"freitexttyp"
],
"hidden": [
"titel",
"freitext"
]
},
"data": {
"freitexttyp": "befristung",
"titel": "Befristung",
"freitext": "befristeter Dienstvertrag"
}
}
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Arbeitszeit & Basisgehalt",
"id": "arbeitszeit"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Arbeitszeit",
"vertragsbestandteiltyp": "vertragsbestandteilstunden",
"errors": [
"test1",
"test2"
],
"infos": []
},
"children": [
"98704748-0ef0-4a70-94b7-5d8e719c2b3e"
]
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zeitaufzeichnung",
"vertragsbestandteiltyp": "vertragsbestandteilzeitaufzeichnung",
"errors": [],
"infos": []
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Funktionen",
"id": "funktionen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Funktion",
"vertragsbestandteiltyp": "vertragsbestandteilfunktion",
"errors": [],
"infos": []
},
"children": [
"fc5f4ab8-4652-40e4-9ac3-e76bbf7310af"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Zusatzvereinbarungen",
"id": "zusatzvereinbarungen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zusatzvereinbarungen",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext"
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Sonstiges",
"id": "sonstiges"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist",
"errors": [],
"infos": []
},
"children": []
}
]
}
]
}
],
"data": {
"dienstverhaeltnisid": null,
"unternehmen": "gst",
"vertragsart_kurzbz": "echterdv",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "set"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
},
"vbs": {
"98704748-0ef0-4a70-94b7-5d8e719c2b3e": {
"type": "vertragsbestandteilstunden",
"guioptions": {
"id": "98704748-0ef0-4a70-94b7-5d8e719c2b3e",
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"stunden": 38.5,
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
},
"gbs": [
{
"type": "gehaltsbestandteil",
"guioptions": {
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"gehaltstyp": "grund",
"betrag": "3500",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
},
"valorisierung": ""
}
}
]
},
"fc5f4ab8-4652-40e4-9ac3-e76bbf7310af": {
"type": "vertragsbestandteilfunktion",
"guioptions": {
"id": "fc5f4ab8-4652-40e4-9ac3-e76bbf7310af"
},
"data": {
"funktion": "Leitung",
"orget": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
},
"gbs": []
}
}
}
@@ -1,263 +0,0 @@
{
"type": "formdata",
"children": [
{
"type": "tabs",
"guioptions": {},
"children": [
{
"type": "tab",
"guioptions": {
"title": "Allgemein",
"id": "allgemein"
},
"children": [
{
"type": "dv",
"guioptions": {},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist"
},
"children": [
"6ae61b45-99a8-406b-b583-9f0353dd834f"
]
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Befristung",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext",
"childdefaults": {
"guioptions": {
"canhavegehaltsbestandteile": false,
"disabled": [
"freitexttyp"
],
"hidden": [
"titel",
"freitext"
]
},
"data": {
"freitexttyp": "befristung",
"titel": "Befristung",
"freitext": "befristeter Dienstvertrag"
}
}
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Arbeitszeit & Basisgehalt",
"id": "arbeitszeit"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Arbeitszeit",
"vertragsbestandteiltyp": "vertragsbestandteilstunden",
"errors": [
"test1",
"test2"
],
"infos": []
},
"children": [
"98704748-0ef0-4a70-94b7-5d8e719c2b3e"
]
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zeitaufzeichnung",
"vertragsbestandteiltyp": "vertragsbestandteilzeitaufzeichnung",
"errors": [],
"infos": []
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Funktionen",
"id": "funktionen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Funktion",
"vertragsbestandteiltyp": "vertragsbestandteilfunktion",
"errors": [],
"infos": []
},
"children": [
"fc5f4ab8-4652-40e4-9ac3-e76bbf7310af"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Zusatzvereinbarungen",
"id": "zusatzvereinbarungen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zusatzvereinbarungen",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext"
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Sonstiges",
"id": "sonstiges"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist",
"errors": [],
"infos": []
},
"children": []
}
]
}
]
}
],
"data": {
"dienstverhaeltnisid": null,
"unternehmen": "gst",
"vertragsart_kurzbz": "echterdv",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "set"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
},
"vbs": {
"98704748-0ef0-4a70-94b7-5d8e719c2b3e": {
"type": "vertragsbestandteilstunden",
"guioptions": {
"id": "98704748-0ef0-4a70-94b7-5d8e719c2b3e",
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"stunden": "38,5",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
},
"gbs": [
{
"type": "gehaltsbestandteil",
"guioptions": {
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"gehaltstyp": "grund",
"betrag": "3500",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
},
"valorisierung": ""
}
}
]
},
"fc5f4ab8-4652-40e4-9ac3-e76bbf7310af": {
"type": "vertragsbestandteilfunktion",
"guioptions": {
"id": "fc5f4ab8-4652-40e4-9ac3-e76bbf7310af"
},
"data": {
"funktion": "Leitung",
"orget": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
},
"gbs": []
},
"6ae61b45-99a8-406b-b583-9f0353dd834f": {
"type": "vertragsbestandteilkuendigungsfrist",
"guioptions": {
"id": "6ae61b45-99a8-406b-b583-9f0353dd834f",
"removeable": true
},
"data": {
"arbeitgeber_frist": "8",
"arbeitnehmer_frist": "4",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2001",
"gueltig_bis": ""
}
}
}
}
}
}
@@ -1,6 +0,0 @@
testen:
./vendor/bin/phpunit system/UnitTests/vertragsbestandteil/gui/FormDataTest.php
./vendor/bin/phpunit system/UnitTests/vertragsbestandteil/gui/GuiHandlerTest.php
@@ -1,241 +0,0 @@
{
"type": "formdata",
"children": [
{
"type": "tabs",
"guioptions": {},
"children": [
{
"type": "tab",
"guioptions": {
"title": "Allgemein",
"id": "allgemein"
},
"children": [
{
"type": "dv",
"guioptions": {},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist"
},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Befristung",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext",
"childdefaults": {
"guioptions": {
"canhavegehaltsbestandteile": false,
"disabled": [
"freitexttyp"
],
"hidden": [
"titel",
"freitext"
]
},
"data": {
"freitexttyp": "befristung",
"titel": "Befristung",
"freitext": "befristeter Dienstvertrag"
}
}
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Arbeitszeit & Basisgehalt",
"id": "arbeitszeit"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Arbeitszeit",
"vertragsbestandteiltyp": "vertragsbestandteilstunden",
"errors": [
"test1",
"test2"
],
"infos": []
},
"children": [
"73a60d69-cbd5-40f0-bcb1-ed0ccdd4a9fd"
]
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zeitaufzeichnung",
"vertragsbestandteiltyp": "vertragsbestandteilzeitaufzeichnung",
"errors": [],
"infos": []
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Funktionen",
"id": "funktionen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Funktion",
"vertragsbestandteiltyp": "vertragsbestandteilfunktion",
"errors": [],
"infos": []
},
"children": [
"a0e35f18-e4d9-4dc3-8001-1b689360782a"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Zusatzvereinbarungen",
"id": "zusatzvereinbarungen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zusatzvereinbarungen",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext"
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Sonstiges",
"id": "sonstiges"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist",
"errors": [],
"infos": []
},
"children": []
}
]
}
]
}
],
"data": {
"dienstverhaeltnisid": null,
"unternehmen": "gst",
"vertragsart_kurzbz": "echterdv",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "set"
},
"data": {
"gueltig_ab": "1.1.2011",
"gueltig_bis": ""
}
}
},
"vbs": {
"73a60d69-cbd5-40f0-bcb1-ed0ccdd4a9fd": {
"type": "vertragsbestandteilstunden",
"guioptions": {
"id": "73a60d69-cbd5-40f0-bcb1-ed0ccdd4a9fd",
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"stunden": 38.5,
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2011",
"gueltig_bis": ""
}
}
},
"gbs": [
{
"type": "gehaltsbestandteil",
"guioptions": {
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"gehaltstyp": "grund",
"betrag": "3334",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2011",
"gueltig_bis": ""
}
},
"valorisierung": true
}
}
]
},
"a0e35f18-e4d9-4dc3-8001-1b689360782a": {
"type": "vertragsbestandteilfunktion",
"guioptions": {
"id": "a0e35f18-e4d9-4dc3-8001-1b689360782a"
},
"data": {
"funktion": "Leitung",
"orget": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2011",
"gueltig_bis": ""
}
}
},
"gbs": []
}
}
}
@@ -1,264 +0,0 @@
{
"type": "formdata",
"children": [
{
"type": "tabs",
"guioptions": {},
"children": [
{
"type": "tab",
"guioptions": {
"title": "Allgemein",
"id": "allgemein"
},
"children": [
{
"type": "dv",
"guioptions": {},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist"
},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Befristung",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext",
"childdefaults": {
"guioptions": {
"canhavegehaltsbestandteile": false,
"disabled": [
"freitexttyp"
],
"hidden": [
"titel",
"freitext"
]
},
"data": {
"freitexttyp": "befristung",
"titel": "Befristung",
"freitext": "befristeter Dienstvertrag"
}
}
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Arbeitszeit & Basisgehalt",
"id": "arbeitszeit"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Arbeitszeit",
"vertragsbestandteiltyp": "vertragsbestandteilstunden",
"errors": [
"test1",
"test2"
],
"infos": []
},
"children": [
"439336ad-05ee-4b2a-9a0c-df7dc1c7245e"
]
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zeitaufzeichnung",
"vertragsbestandteiltyp": "vertragsbestandteilzeitaufzeichnung",
"errors": [],
"infos": []
},
"children": [
"7625d25d-8fd9-476b-94a6-4fbb72c147d4"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Funktionen",
"id": "funktionen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Funktion",
"vertragsbestandteiltyp": "vertragsbestandteilfunktion",
"errors": [],
"infos": []
},
"children": [
"81c92565-82fe-40ec-ad35-454c3218fb3b"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Zusatzvereinbarungen",
"id": "zusatzvereinbarungen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zusatzvereinbarungen",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext"
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Sonstiges",
"id": "sonstiges"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist",
"errors": [],
"infos": []
},
"children": []
}
]
}
]
}
],
"data": {
"dienstverhaeltnisid": null,
"unternehmen": "",
"vertragsart_kurzbz": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "set"
},
"data": {
"gueltig_ab": "",
"gueltig_bis": ""
}
}
},
"vbs": {
"439336ad-05ee-4b2a-9a0c-df7dc1c7245e": {
"type": "vertragsbestandteilstunden",
"guioptions": {
"id": "439336ad-05ee-4b2a-9a0c-df7dc1c7245e",
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"stunden": "38,5",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "",
"gueltig_bis": ""
}
}
},
"gbs": [
{
"type": "gehaltsbestandteil",
"guioptions": {
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"gehaltstyp": "",
"betrag": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "",
"gueltig_bis": ""
}
},
"valorisierung": true
}
}
]
},
"81c92565-82fe-40ec-ad35-454c3218fb3b": {
"type": "vertragsbestandteilfunktion",
"guioptions": {
"id": "81c92565-82fe-40ec-ad35-454c3218fb3b"
},
"data": {
"funktion": "Leitung",
"orget": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "",
"gueltig_bis": ""
}
}
},
"gbs": []
},
"7625d25d-8fd9-476b-94a6-4fbb72c147d4": {
"type": "vertragsbestandteilzeitaufzeichnung",
"guioptions": {
"id": "7625d25d-8fd9-476b-94a6-4fbb72c147d4",
"removeable": true
},
"data": {
"zeitaufzeichnung": true,
"azgrelevant": "",
"homeoffice": true,
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "",
"gueltig_bis": ""
}
}
}
}
}
}
@@ -1,354 +0,0 @@
{
"type": "formdata",
"children": [
{
"type": "tabs",
"guioptions": {},
"children": [
{
"type": "tab",
"guioptions": {
"title": "Allgemein",
"id": "allgemein"
},
"children": [
{
"type": "dv",
"guioptions": {},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist"
},
"children": []
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Befristung",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext",
"childdefaults": {
"guioptions": {
"canhavegehaltsbestandteile": false,
"disabled": [
"freitexttyp"
],
"hidden": [
"titel",
"freitext"
]
},
"data": {
"freitexttyp": "befristung",
"titel": "Befristung",
"freitext": "befristeter Dienstvertrag"
}
}
},
"children": []
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Arbeitszeit & Basisgehalt",
"id": "arbeitszeit"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Arbeitszeit",
"vertragsbestandteiltyp": "vertragsbestandteilstunden",
"errors": [
"test1",
"test2"
],
"infos": []
},
"children": [
"5671ff88-9580-4b20-8bbf-a744bc353485"
]
},
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zeitaufzeichnung",
"vertragsbestandteiltyp": "vertragsbestandteilzeitaufzeichnung",
"errors": [],
"infos": []
},
"children": [
"484f7166-7792-4cc7-b906-0db09c65bbf4"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Funktionen",
"id": "funktionen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Funktion",
"vertragsbestandteiltyp": "vertragsbestandteilfunktion",
"errors": [],
"infos": []
},
"children": [
"2c38c937-3157-4404-ad33-dfad2ed15633",
"b983791e-ff2e-4eeb-891e-b786c90daf69"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Zusatzvereinbarungen",
"id": "zusatzvereinbarungen"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Zusatzvereinbarungen",
"vertragsbestandteiltyp": "vertragsbestandteilfreitext"
},
"children": [
"b168a3bb-d0e2-407f-8192-525a5ab59b22"
]
}
]
},
{
"type": "tab",
"guioptions": {
"title": "Sonstiges",
"id": "sonstiges"
},
"children": [
{
"type": "vertragsbestandteillist",
"guioptions": {
"title": "Kündigungsfrist",
"vertragsbestandteiltyp": "vertragsbestandteilkuendigungsfrist",
"errors": [],
"infos": []
},
"children": [
"b7c613f2-f82b-45af-bc6a-9c5cefb41e91"
]
}
]
}
]
}
],
"data": {
"dienstverhaeltnisid": null,
"unternehmen": "",
"vertragsart_kurzbz": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "set"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
},
"vbs": {
"5671ff88-9580-4b20-8bbf-a744bc353485": {
"type": "vertragsbestandteilstunden",
"guioptions": {
"id": "5671ff88-9580-4b20-8bbf-a744bc353485",
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"stunden": "38,5",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
},
"gbs": [
{
"type": "gehaltsbestandteil",
"guioptions": {
"infos": [
"test info 1",
"test info 2"
],
"errors": [
"test error 1",
"test error 2"
]
},
"data": {
"gehaltstyp": "",
"betrag": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
},
"valorisierung": ""
}
}
]
},
"2c38c937-3157-4404-ad33-dfad2ed15633": {
"type": "vertragsbestandteilfunktion",
"guioptions": {
"id": "2c38c937-3157-4404-ad33-dfad2ed15633"
},
"data": {
"funktion": "Leitung",
"orget": "sdf",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
},
"gbs": [
{
"type": "gehaltsbestandteil",
"guioptions": {
"id": "a5df7915-6935-47d8-9751-f8f8d63d188b",
"removeable": true
},
"data": {
"gehaltstyp": "zulage",
"betrag": "111",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
},
"valorisierung": true
}
}
]
},
"b983791e-ff2e-4eeb-891e-b786c90daf69": {
"type": "vertragsbestandteilfunktion",
"guioptions": {
"id": "b983791e-ff2e-4eeb-891e-b786c90daf69",
"removeable": true
},
"data": {
"funktion": "",
"orget": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
},
"gbs": []
},
"b168a3bb-d0e2-407f-8192-525a5ab59b22": {
"type": "vertragsbestandteilfreitext",
"guioptions": {
"id": "b168a3bb-d0e2-407f-8192-525a5ab59b22",
"removeable": true
},
"data": {
"freitexttyp": "allin",
"titel": "Lorem ipsum",
"freitext": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \nAt vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ",
"kuendigungsrelevant": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
},
"gbs": []
},
"b7c613f2-f82b-45af-bc6a-9c5cefb41e91": {
"type": "vertragsbestandteilkuendigungsfrist",
"guioptions": {
"id": "b7c613f2-f82b-45af-bc6a-9c5cefb41e91",
"removeable": true
},
"data": {
"arbeitgeber_frist": "",
"arbeitnehmer_frist": "",
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
}
},
"484f7166-7792-4cc7-b906-0db09c65bbf4": {
"type": "vertragsbestandteilzeitaufzeichnung",
"guioptions": {
"id": "484f7166-7792-4cc7-b906-0db09c65bbf4",
"removeable": true
},
"data": {
"zeitaufzeichnung": true,
"azgrelevant": false,
"homeoffice": true,
"gueltigkeit": {
"guioptions": {
"sharedstatemode": "reflect"
},
"data": {
"gueltig_ab": "1.1.2010",
"gueltig_bis": ""
}
}
}
}
}
}