This commit is contained in:
Philipp Lang 2023-11-29 21:11:16 +01:00
parent 20836e7228
commit fc1b647b54
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ class PaymentMail extends Mailable
{ {
$this->invoice = $invoice; $this->invoice = $invoice;
$this->filename = $filename; $this->filename = $filename;
$this->salutation = 'Liebe Familie '.$invoice->pages->first()->familyName; $this->salutation = 'Liebe Familie ' . $invoice->pages->first()->familyName;
} }
/** /**
@ -36,8 +36,8 @@ class PaymentMail extends Mailable
public function build() public function build()
{ {
return $this->markdown($this->invoice->mailView()) return $this->markdown($this->invoice->mailView())
->attach($this->filename) ->attach($this->filename)
->replyTo('kasse@stamm-silva.de') ->replyTo('kasse@stamm-silva.de')
->subject($this->invoice->getSubject().' | DPSG Stamm Silva'); ->subject($this->invoice->getSubject() . ' | DPSG Stamm Silva');
} }
} }