Много всего
This commit is contained in:
@@ -18,7 +18,7 @@ class ArchiveHistoryResource extends JsonResource
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'issue_at' => Carbon::parse($this->issue_at)->format('d.m.Y'),
|
||||
'return_at' => Carbon::parse($this->return_at)->format('d.m.Y'),
|
||||
'return_at' => $this->return_at ? Carbon::parse($this->return_at)->format('d.m.Y') : null,
|
||||
'comment' => $this->comment,
|
||||
'org_id' => $this->org_id,
|
||||
'org' => $this->org->name,
|
||||
|
||||
Reference in New Issue
Block a user