message
parent
7bf3cc75f8
commit
5b7d0098b5
|
|
@ -18,8 +18,8 @@ class FeedbackSender extends Mailable implements ShouldQueue {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function build() {
|
public function build() {
|
||||||
$type = DictionaryItem::byUuid($this->data['feedback-type'])->pluck('title');
|
$dictionary = DictionaryItem::byUuid($this->data['feedback-type'])->first();
|
||||||
$this->data['feedback-type'] = $type;
|
$this->data['feedback-type'] = $dictionary->title;
|
||||||
return $this->subject('Сообщение из обратной связи')->view('mail.feedback.support');
|
return $this->subject('Сообщение из обратной связи')->view('mail.feedback.support');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue