mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
bf4768bd7b
commit
9cf26601f9
@ -64,12 +64,12 @@ class SupportMessageSent extends Mailable
|
|||||||
$db = str_replace("db-ninja-", "", $company->db);
|
$db = str_replace("db-ninja-", "", $company->db);
|
||||||
$is_large = $company->is_large ? "L" : "S";
|
$is_large = $company->is_large ? "L" : "S";
|
||||||
$platform = array_key_exists('platform', $this->data) ? $this->data['platform'] : "U";
|
$platform = array_key_exists('platform', $this->data) ? $this->data['platform'] : "U";
|
||||||
$migrated = strlen($company->company_key) == 32 ? "M" : "T";
|
$migrated = strlen($company->company_key) == 32 ? "M" : "";
|
||||||
|
|
||||||
if(Ninja::isHosted())
|
if(Ninja::isHosted())
|
||||||
$subject = "{$priority}Hosted-{$db}-{$is_large}{$platform}{$migrated} :: {$plan} :: ".date('M jS, g:ia');
|
$subject = "{$priority}Hosted-{$db}-{$is_large}{$platform}{$migrated} :: {$plan} :: ".date('M jS, g:ia');
|
||||||
else
|
else
|
||||||
$subject = "{$priority}Self Hosted :: {$plan}{$platform} :: ".date('M jS, g:ia');
|
$subject = "{$priority}Self Hosted :: {$plan} :: {$platform} :: ".date('M jS, g:ia');
|
||||||
|
|
||||||
return $this->from(config('mail.from.address'), $user->present()->name())
|
return $this->from(config('mail.from.address'), $user->present()->name())
|
||||||
->replyTo($user->email, $user->present()->name())
|
->replyTo($user->email, $user->present()->name())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user