mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fix yd fetch data
This commit is contained in:
@@ -16,7 +16,7 @@ class ContainerResource extends JsonResource
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
dd($this->packingLists->whereHas('packages'));
|
||||
dd($this->packingLists()->whereHas('packages'));
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'container_reference' => $this->reference,
|
||||
|
||||
Reference in New Issue
Block a user