mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Include plan in contact email
This commit is contained in:
parent
81bdcd172a
commit
652673176b
@ -149,6 +149,12 @@ class HomeController extends BaseController
|
||||
$subject = 'Customer Message: ';
|
||||
if (Utils::isNinjaProd()) {
|
||||
$subject .= str_replace('db-', '', config('database.default'));
|
||||
$account = Auth::user()->account;
|
||||
if ($account->isEnterprise()) {
|
||||
$subject .= 'E';
|
||||
} elseif ($account->isPro()) {
|
||||
$subject .= 'P';
|
||||
}
|
||||
} else {
|
||||
$subject .= 'Self-Host';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user