tenantSlug)]; } public function broadcastAs(): string { return 'work-order.updated'; } public function broadcastWith(): array { return [ 'id' => $this->workOrder->id, 'number' => $this->workOrder->number, 'status' => $this->workOrder->status, 'pay_status' => $this->workOrder->pay_status, 'total' => (float) $this->workOrder->total, 'updated_at' => $this->workOrder->updated_at?->toIso8601String(), ]; } }