diff --git a/Theme/Backend/Lang/ar.lang.php b/Theme/Backend/Lang/ar.lang.php index d894ed5..eb74328 100755 --- a/Theme/Backend/Lang/ar.lang.php +++ b/Theme/Backend/Lang/ar.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'الحساب', 'Active' => 'نشيط', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'عيد ميلاد', 'Clocking' => 'مسجلات', 'Contracts' => 'انكماش', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'طاقم عمل', 'Start' => 'يبدأ', 'Status' => 'حالة', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'وحدة', 'Vacation' => 'عطلة', 'Work' => 'عمل', diff --git a/Theme/Backend/Lang/cs.lang.php b/Theme/Backend/Lang/cs.lang.php index 90670cd..feed7c5 100755 --- a/Theme/Backend/Lang/cs.lang.php +++ b/Theme/Backend/Lang/cs.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Účet', 'Active' => 'Aktivní', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Narozeniny', 'Clocking' => 'Hodinky', 'Contracts' => 'Smlouvy', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personál', 'Start' => 'Start', 'Status' => 'Postavení', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Jednotka', 'Vacation' => 'Dovolená', 'Work' => 'Práce', diff --git a/Theme/Backend/Lang/da.lang.php b/Theme/Backend/Lang/da.lang.php index 71b7dc3..72080b3 100755 --- a/Theme/Backend/Lang/da.lang.php +++ b/Theme/Backend/Lang/da.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Konto', 'Active' => 'Aktiv', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Fødselsdag', 'Clocking' => 'Clocking.', 'Contracts' => 'Kontrakter', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personale', 'Start' => 'Start', 'Status' => 'Status.', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Enhed', 'Vacation' => 'Ferie', 'Work' => 'Arbejde', diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 5f6489c..a8bbb51 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Konto', 'Active' => 'Aktiv', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Geburtstag', 'Clocking' => 'Takte', 'Contracts' => 'Verträge', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Mitarbeiter', 'Start' => 'Anfang', 'Status' => 'Status', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Einheit', 'Vacation' => 'Urlaub', 'Work' => 'Arbeiten', diff --git a/Theme/Backend/Lang/el.lang.php b/Theme/Backend/Lang/el.lang.php index 37d15bf..e5018a5 100755 --- a/Theme/Backend/Lang/el.lang.php +++ b/Theme/Backend/Lang/el.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'λογαριασμός', 'Active' => 'Ενεργός', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Γενέθλια', 'Clocking' => 'Ρολόι', 'Contracts' => 'Συμβάσεις', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Προσωπικό', 'Start' => 'Αρχή', 'Status' => 'Κατάσταση', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Μονάδα', 'Vacation' => 'Διακοπές', 'Work' => 'Δουλειά', diff --git a/Theme/Backend/Lang/es.lang.php b/Theme/Backend/Lang/es.lang.php index 1a469f1..8febe79 100755 --- a/Theme/Backend/Lang/es.lang.php +++ b/Theme/Backend/Lang/es.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Cuenta', 'Active' => 'Activo', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Cumpleaños', 'Clocking' => 'Reloj', 'Contracts' => 'Contrato', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personal', 'Start' => 'Comienzo', 'Status' => 'Estado', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Unidad', 'Vacation' => 'Vacaciones', 'Work' => 'Trabajo', diff --git a/Theme/Backend/Lang/fi.lang.php b/Theme/Backend/Lang/fi.lang.php index 9e24470..df3b0fc 100755 --- a/Theme/Backend/Lang/fi.lang.php +++ b/Theme/Backend/Lang/fi.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Tili', 'Active' => 'Aktiivinen', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Syntymäpäivä', 'Clocking' => 'Kello', 'Contracts' => 'Sopimukset', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Henkilökunta', 'Start' => 'alkaa', 'Status' => 'Tila', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Yksikkö', 'Vacation' => 'Loma', 'Work' => 'Tehdä työtä', diff --git a/Theme/Backend/Lang/fr.lang.php b/Theme/Backend/Lang/fr.lang.php index 329c32c..7d0e8dc 100755 --- a/Theme/Backend/Lang/fr.lang.php +++ b/Theme/Backend/Lang/fr.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Compte', 'Active' => 'actif', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Date d\'anniversaire', 'Clocking' => 'Horlogerie', 'Contracts' => 'Contrats', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personnel', 'Start' => 'Démarrer', 'Status' => 'Statut', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Unité', 'Vacation' => 'Vacances', 'Work' => 'Travail', diff --git a/Theme/Backend/Lang/hu.lang.php b/Theme/Backend/Lang/hu.lang.php index 9f3908f..aae82e5 100755 --- a/Theme/Backend/Lang/hu.lang.php +++ b/Theme/Backend/Lang/hu.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Számla', 'Active' => 'Aktív', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Születésnap', 'Clocking' => 'Órajel', 'Contracts' => 'Szerződések', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Személyzet', 'Start' => 'Rajt', 'Status' => 'Állapot', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Mértékegység', 'Vacation' => 'Vakáció', 'Work' => 'Munka', diff --git a/Theme/Backend/Lang/it.lang.php b/Theme/Backend/Lang/it.lang.php index 0b409d3..8e499e5 100755 --- a/Theme/Backend/Lang/it.lang.php +++ b/Theme/Backend/Lang/it.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Account', 'Active' => 'Attivo', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Compleanno', 'Clocking' => 'Orologio', 'Contracts' => 'Contratti', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personale', 'Start' => 'Inizio', 'Status' => 'Stato', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Unità', 'Vacation' => 'Vacanza', 'Work' => 'Opera', diff --git a/Theme/Backend/Lang/ja.lang.php b/Theme/Backend/Lang/ja.lang.php index 7dbb94c..4cbc58f 100755 --- a/Theme/Backend/Lang/ja.lang.php +++ b/Theme/Backend/Lang/ja.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'アカウント', 'Active' => 'アクティブ', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => '誕生日', 'Clocking' => 'クオリット', 'Contracts' => '契約', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'スタッフ', 'Start' => '始める', 'Status' => '状態', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => '単位', 'Vacation' => '休暇', 'Work' => '仕事', diff --git a/Theme/Backend/Lang/ko.lang.php b/Theme/Backend/Lang/ko.lang.php index f84bff1..4329797 100755 --- a/Theme/Backend/Lang/ko.lang.php +++ b/Theme/Backend/Lang/ko.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => '계정', 'Active' => '활동적인', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => '생일', 'Clocking' => '클로킹', 'Contracts' => '계약서', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => '직원', 'Start' => '시작', 'Status' => '상태', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => '단위', 'Vacation' => '휴가', 'Work' => '일하다', diff --git a/Theme/Backend/Lang/no.lang.php b/Theme/Backend/Lang/no.lang.php index 619b5eb..35acf0d 100755 --- a/Theme/Backend/Lang/no.lang.php +++ b/Theme/Backend/Lang/no.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Regnskap', 'Active' => 'Aktiv', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Fødselsdag', 'Clocking' => 'Klokke', 'Contracts' => 'Kontrakter', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personale', 'Start' => 'Start', 'Status' => 'Status', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Enhet', 'Vacation' => 'Ferie', 'Work' => 'Arbeid', diff --git a/Theme/Backend/Lang/pl.lang.php b/Theme/Backend/Lang/pl.lang.php index fd154fa..ba04ccd 100755 --- a/Theme/Backend/Lang/pl.lang.php +++ b/Theme/Backend/Lang/pl.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Rachunek', 'Active' => 'Aktywny', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Urodziny', 'Clocking' => 'Clowering.', 'Contracts' => 'Kontrakty', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personel', 'Start' => 'Początek', 'Status' => 'Status', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Jednostka', 'Vacation' => 'Wakacje', 'Work' => 'Praca', diff --git a/Theme/Backend/Lang/pt.lang.php b/Theme/Backend/Lang/pt.lang.php index ea12663..8decaeb 100755 --- a/Theme/Backend/Lang/pt.lang.php +++ b/Theme/Backend/Lang/pt.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Conta', 'Active' => 'Ativo', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Aniversário', 'Clocking' => 'Clocking.', 'Contracts' => 'Contratos', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Funcionários', 'Start' => 'Começar', 'Status' => 'Status', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Unidade', 'Vacation' => 'Férias', 'Work' => 'Trabalhos', diff --git a/Theme/Backend/Lang/ru.lang.php b/Theme/Backend/Lang/ru.lang.php index 8886338..da95136 100755 --- a/Theme/Backend/Lang/ru.lang.php +++ b/Theme/Backend/Lang/ru.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Счет', 'Active' => 'Активный', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'День рождения', 'Clocking' => 'Сияние', 'Contracts' => 'Контракты', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Штат сотрудников', 'Start' => 'Начинать', 'Status' => 'Статус', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Единица измерения', 'Vacation' => 'Отпуск', 'Work' => 'Работа', diff --git a/Theme/Backend/Lang/sv.lang.php b/Theme/Backend/Lang/sv.lang.php index 8eab169..951797f 100755 --- a/Theme/Backend/Lang/sv.lang.php +++ b/Theme/Backend/Lang/sv.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'konto', 'Active' => 'Aktiva', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Födelsedag', 'Clocking' => 'Klockning', 'Contracts' => 'Kontrakt', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personal', 'Start' => 'Start', 'Status' => 'Status', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Enhet', 'Vacation' => 'Semester', 'Work' => 'Arbete', diff --git a/Theme/Backend/Lang/th.lang.php b/Theme/Backend/Lang/th.lang.php index d880cc6..adbb35f 100755 --- a/Theme/Backend/Lang/th.lang.php +++ b/Theme/Backend/Lang/th.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'บัญชี', 'Active' => 'คล่องแคล่ว', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'วันเกิด', 'Clocking' => 'การตอกบัตร', 'Contracts' => 'สัญญา', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'พนักงาน', 'Start' => 'เริ่ม', 'Status' => 'สถานะ', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'หน่วย', 'Vacation' => 'วันหยุด', 'Work' => 'งาน', diff --git a/Theme/Backend/Lang/tr.lang.php b/Theme/Backend/Lang/tr.lang.php index 020bc5f..c49ee24 100755 --- a/Theme/Backend/Lang/tr.lang.php +++ b/Theme/Backend/Lang/tr.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Hesap', 'Active' => 'Aktif', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Doğum günü', 'Clocking' => 'Saat', 'Contracts' => 'Sözleşme', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Personel', 'Start' => 'Başlangıç', 'Status' => 'Durum', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Birim', 'Vacation' => 'Tatil', 'Work' => 'Çalışmak', diff --git a/Theme/Backend/Lang/uk.lang.php b/Theme/Backend/Lang/uk.lang.php index a939d27..972a66d 100755 --- a/Theme/Backend/Lang/uk.lang.php +++ b/Theme/Backend/Lang/uk.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => 'Обліковий запис', 'Active' => 'Активний', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => 'Народження', 'Clocking' => 'Годинник', 'Contracts' => 'Контракти', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => 'Співробітник', 'Start' => 'Почати', 'Status' => 'Статус', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => 'Підрозділ', 'Vacation' => 'Відпустка', 'Work' => 'Робота', diff --git a/Theme/Backend/Lang/zh.lang.php b/Theme/Backend/Lang/zh.lang.php index a88e3d6..2342c9f 100755 --- a/Theme/Backend/Lang/zh.lang.php +++ b/Theme/Backend/Lang/zh.lang.php @@ -15,7 +15,7 @@ declare(strict_types=1); return ['HumanResourceManagement' => [ 'Account' => '帐户', 'Active' => '积极的', - 'Address' => '#VALUE!', + 'Address' => '', 'Birthday' => '生日', 'Clocking' => '时钟', 'Contracts' => '合同', @@ -45,7 +45,7 @@ return ['HumanResourceManagement' => [ 'Staff' => '职员', 'Start' => '开始', 'Status' => '地位', - 'Title' => '#VALUE!', + 'Title' => '', 'Unit' => '单元', 'Vacation' => '假期', 'Work' => '工作', diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index fdfd41d..c3a3e8f 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -129,7 +129,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase // can create multiple accounts if profiles is a list of ids e.g. 1,2,3 $this->module->apiEmployeeCreate($request, $response); - self::assertGreaterThan(0, self::$employee = $response->get('')['response'][0]->id); + self::assertGreaterThan(0, self::$employee = $response->getDataArray('')['response'][0]->id); } /** @@ -145,7 +145,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request->setData('name1', 'NewEmployee'); $this->module->apiEmployeeCreate($request, $response); - self::assertGreaterThan(0, self::$employee = $response->get('')['response']->id); + self::assertGreaterThan(0, self::$employee = $response->getDataArray('')['response']->id); } /** @@ -225,7 +225,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request->setData('department', 1); $request->setData('position', 1); $this->module->apiEmployeeHistoryCreate($request, $response); - self::assertGreaterThan(0, $response->get('')['response']->id); + self::assertGreaterThan(0, $response->getDataArray('')['response']->id); $start = clone $end; $end = DateTime::generateDateTime( @@ -285,7 +285,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request->setData('state', ''); $this->module->apiEmployeeWorkHistoryCreate($request, $response); - self::assertGreaterThan(0, $response->get('')['response']->id); + self::assertGreaterThan(0, $response->getDataArray('')['response']->id); $start = clone $end; $end = DateTime::generateDateTime( @@ -346,7 +346,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request->setData('state', ''); $this->module->apiEmployeeEducationHistoryCreate($request, $response); - self::assertGreaterThan(0, $response->get('')['response']->id); + self::assertGreaterThan(0, $response->getDataArray('')['response']->id); $start = clone $end; $end = DateTime::generateDateTime(