1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Minor fixeS

This commit is contained in:
David Bomba 2021-07-13 08:07:09 +10:00
parent 21636e21b2
commit 8f5afaacd4
2 changed files with 3 additions and 2 deletions

View File

@ -1241,7 +1241,8 @@ class Import implements ShouldQueue
$try_quote = false;
$exception = false;
$entity = false;
try{
$invoice_id = $this->transformId('invoices', $resource['invoice_id']);
$entity = Invoice::where('id', $invoice_id)->withTrashed()->first();

View File

@ -62,7 +62,7 @@ class SupportMessageSent extends Mailable
else
$subject = "Self Host {$user->present()->name} - [{$plan} - {$company->db}]";
return $this->from(config('mail.from.address'), config('mail.from.name'))
return $this->from(config('mail.from.address'), $user->present()->name())
->replyTo($user->email, $user->present()->name())
->subject($subject)
->view('email.support.message', [