mirror of
https://github.com/crater-invoice/crater.git
synced 2025-11-02 21:43:18 -05:00
Add more descriptive subject lines.
This commit is contained in:
@ -32,6 +32,9 @@ class invoicePdf extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
return $this->from($this->notificationEmail)->markdown('emails.send.invoice', ['data', $this->data]);
|
||||
$company = $this->data['company']['name'];
|
||||
return $this->from($this->notificationEmail)
|
||||
->subject("Invoice from $company")
|
||||
->markdown('emails.send.invoice', ['data', $this->data]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user