mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-13 17:48:39 +00:00
fix format + fix employee creation
This commit is contained in:
parent
6b3c2751b6
commit
7608536e84
|
|
@ -747,7 +747,7 @@ $accounts = [
|
||||||
'pass' => 'deichhorn',
|
'pass' => 'deichhorn',
|
||||||
'name1' => 'Dennis',
|
'name1' => 'Dennis',
|
||||||
'name2' => 'Eichhorn',
|
'name2' => 'Eichhorn',
|
||||||
'email' => 'dennis.eichhorn@gdfmbh.com',
|
'email' => 'd.eichhorn@schuetz-dental.de',
|
||||||
'groups' => ['Executive', 'Finance', 'Controlling', 'Employee', 'beta_tester'],
|
'groups' => ['Executive', 'Finance', 'Controlling', 'Employee', 'beta_tester'],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
@ -858,9 +858,9 @@ $response = new Response();
|
||||||
$request = new Request(new Http(''));
|
$request = new Request(new Http(''));
|
||||||
|
|
||||||
$request->getHeader()->setAccount(2);
|
$request->getHeader()->setAccount(2);
|
||||||
$request->setData('account', 2);
|
$request->setData('accounts', 2);
|
||||||
|
|
||||||
$module->apiEmployeeFromAccountCreate($request, $response);
|
$module->apiEmployeeCreate($request, $response);
|
||||||
|
|
||||||
$request->setData('employee', 1);
|
$request->setData('employee', 1);
|
||||||
$request->setData('start', '2015-07-01');
|
$request->setData('start', '2015-07-01');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user