mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-28 08:54:19 +00:00
General fixes to table design, added state and district seeder for china, made changes to create order process, and ui and vue js components changes for registration, dashboard and registration
This commit is contained in:
@@ -27,9 +27,8 @@ class OrderResource extends JsonResource
|
||||
'type' => (int) $this->type,
|
||||
'status' => (int) $this->status,
|
||||
'current_step' => $this->current_step,
|
||||
'company' => new CompanyResource(Company::where('id',$this->companyModule()->first()->company_id)->first()),
|
||||
'address' => new AddressResource($this->when($this->has('addresses'), $this->addresses->where('owner_id', $this->id)->first())),
|
||||
'order_steps' => OrderStepResource::collection($this->orderSteps()->get()),
|
||||
'company' => new CompanyResource($this->companyModule->company),
|
||||
'address' => new AddressResource($this->address)
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user