subject(__('Ticket #{id} đã được đóng', ['id' => $this->feedback->id])) ->line(__('Ticket: :title', ['title' => $this->feedback->title])) ->line(__('Đóng bởi: :name', ['name' => $this->actor->name])) ->action(__('Xem Ticket'), url('/admin/feedbacks/' . $this->feedback->id . '/edit')); } public function toDatabase(object $notifiable): array { return [ 'message' => __('Ticket #{id} ":title" đã được đóng bởi :actor.', [ 'id' => $this->feedback->id, 'title' => $this->feedback->title, 'actor' => $this->actor->name, ]), 'feedback_id' => $this->feedback->id, 'actor_name' => $this->actor->name, ]; } }