mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
Minor fixes for support messages
This commit is contained in:
parent
8a0fded7ca
commit
b7e00952fa
@ -67,6 +67,7 @@ class SupportMessageSent extends Mailable
|
|||||||
$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" : "";
|
$migrated = strlen($company->company_key) == 32 ? "M" : "";
|
||||||
$trial = $account->isTrial() ? "T" : "";
|
$trial = $account->isTrial() ? "T" : "";
|
||||||
|
$plan = str_replace("_", " ", $plan);
|
||||||
|
|
||||||
if(Ninja::isHosted())
|
if(Ninja::isHosted())
|
||||||
$subject = "{$priority}Hosted-{$db}-{$is_large}{$platform}{$migrated}{$trial} :: {$plan} :: ".date('M jS, g:ia');
|
$subject = "{$priority}Hosted-{$db}-{$is_large}{$platform}{$migrated}{$trial} :: {$plan} :: ".date('M jS, g:ia');
|
||||||
|
Loading…
Reference in New Issue
Block a user