service->server_name ?? $this->service->product?->name ?? 'dịch vụ'; return new Envelope(subject: "Nhắc gia hạn dịch vụ {$name}"); } public function content(): Content { return new Content( view: 'emails.customer.service-renewal-reminder', with: [ 'clientName' => $this->customer->fullname ?? '', 'productName' => $this->service->product?->name ?? 'Dịch vụ', 'serverName' => $this->service->server_name ?? '', 'expiresAt' => $this->service->expires_at ? \Carbon\Carbon::parse($this->service->expires_at)->format('d/m/Y') : 'N/A', 'price' => $this->service->orderItem?->price ? number_format((float) $this->service->orderItem->price, 0, ',', '.') : null, ], ); } }