mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
big commit
This commit is contained in:
@@ -23,7 +23,7 @@ class CompanyResource extends JsonResource
|
||||
'marking' => CompanyConnections::where('module_one', $this->modules->first()->id)->first()->marking,
|
||||
'name' => $this->name,
|
||||
'type' => $this->type,
|
||||
'status' => $this->status,
|
||||
'status' => (int) $this->status,
|
||||
'delivery_address' => new AddressResource($this->deliveryAddress),
|
||||
'contact' => new ContactResource($this->contacts->first()),
|
||||
'total_orders' => count($this->orders)
|
||||
|
||||
Reference in New Issue
Block a user