mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-15 12:18:42 +00:00
fix tests
This commit is contained in:
parent
66f12494b7
commit
0233863aa1
|
|
@ -153,7 +153,7 @@ class EmployeeHistory implements \JsonSerializable
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'employee' => \is_int($this->employee) ? $this->employee : $this->employee->id,
|
'employee' => $this->employee->id,
|
||||||
'unit' => $this->unit,
|
'unit' => $this->unit,
|
||||||
'department' => $this->department,
|
'department' => $this->department,
|
||||||
'position' => $this->position,
|
'position' => $this->position,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user