This commit is contained in:
2025-10-29 12:07:51 +01:00
parent f76d55f4f0
commit 3ec15d95b0
+4 -6
View File
@@ -18,9 +18,7 @@ class Reminder extends Mailable
/** /**
* Create a new message instance. * Create a new message instance.
*/ */
public function __construct( public function __construct(public array $invoice) {}
public array $invoice,
) {}
/** /**
* Get the message envelope. * Get the message envelope.
@@ -28,9 +26,9 @@ public function __construct(
public function envelope(): Envelope public function envelope(): Envelope
{ {
return new Envelope( return new Envelope(
// TODO: get from setting // TODO: get from settings
from: new Address('buchhaltung@tooloop.de', 'Tooloop Multimedia'), from: new Address('buchhaltung@tooloop.de', 'Tooloop Multimedia'),
replyTo: [new Address('info@tooloop.de', 'Tooloop Multimedia'),], bcc: [new Address('daniel.stock@tooloop.de', '<Daniel Stock')],
subject: 'Zahlungserinnerung', subject: 'Zahlungserinnerung',
); );
} }
@@ -41,7 +39,7 @@ public function envelope(): Envelope
public function content(): Content public function content(): Content
{ {
return new Content( return new Content(
view: 'mail.reminder', view: 'mail.invoices.reminder',
); );
} }