mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-31 08:58:41 +00:00
datetime is jsonserializable, didn't know that :)
This commit is contained in:
parent
ec6cb04885
commit
69210f6fcb
|
|
@ -259,8 +259,8 @@ class Position implements ArrayableInterface, \JsonSerializable
|
|||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'description' => $this->description,
|
||||
'department' => $this->department,
|
||||
'parent' => $this->parent,
|
||||
'department' => $this->department,
|
||||
'parent' => $this->parent,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
|||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'description' => $this->description,
|
||||
'parent' => $this->parent,
|
||||
'parent' => $this->parent,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user