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

Minor fixes for support messages

This commit is contained in:
David Bomba 2022-05-06 17:08:55 +10:00
parent 8a0fded7ca
commit b7e00952fa

View File

@ -67,7 +67,8 @@ class SupportMessageSent extends Mailable
$platform = array_key_exists('platform', $this->data) ? $this->data['platform'] : "U";
$migrated = strlen($company->company_key) == 32 ? "M" : "";
$trial = $account->isTrial() ? "T" : "";
$plan = str_replace("_", " ", $plan);
if(Ninja::isHosted())
$subject = "{$priority}Hosted-{$db}-{$is_large}{$platform}{$migrated}{$trial} :: {$plan} :: ".date('M jS, g:ia');
else