invoice mail name issue fix

This commit is contained in:
brijraj_04
2021-02-03 11:38:59 +05:30
parent 7b95ccb5fc
commit 70bed01e7b

View File

@ -40,7 +40,7 @@ class SendInvoiceMail extends Mailable
'mailable_id' => $this->data['invoice']['id']
]);
return $this->from($this->data['from'])
return $this->from($this->data['from'], env('MAIL_FROM_NAME'))
->subject($this->data['subject'])
->markdown('emails.send.invoice', ['data', $this->data]);
}