mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-16 00:08: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,
|
'id' => $this->id,
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'description' => $this->description,
|
'description' => $this->description,
|
||||||
'department' => $this->department,
|
'department' => $this->department,
|
||||||
'parent' => $this->parent,
|
'parent' => $this->parent,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'description' => $this->description,
|
'description' => $this->description,
|
||||||
'parent' => $this->parent,
|
'parent' => $this->parent,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user