$this->id, 'sequence' => $this->sequence, 'status' => $this->status, 'scheduled_arrival' => $this->scheduled_arrival?->toIso8601String(), 'actual_arrival' => $this->actual_arrival?->toIso8601String(), 'actual_departure' => $this->actual_departure?->toIso8601String(), 'total_scans' => $this->total_scans, 'estimated_load_added_kg' => $this->estimated_load_added_kg, 'skip_reason' => $this->skip_reason, 'drop_off_point' => DropOffPointResource::make($this->whenLoaded('dropOffPoint')), ]; } }