tidy up the order remark backend api

This commit is contained in:
edmondlang
2021-10-31 15:43:57 +08:00
parent 6444f471e8
commit 5e7cfd4da0
6 changed files with 34 additions and 40 deletions
+1
View File
@@ -46,6 +46,7 @@ class OrderResource extends JsonResource
'received_packages' => PackageResource::collection($this->parcels()->warehouseReceiveList()->get()),
];
}),
'remarks' => RemarkResource::collection($this->remarks),
'created_at' => $this->created_at->format('d-m-Y')
];