mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Minor fixes
This commit is contained in:
parent
6e06e7d1f2
commit
dd834f1405
@ -31,6 +31,7 @@ class SubdomainController extends BaseController
|
|||||||
'cname',
|
'cname',
|
||||||
'sandbox',
|
'sandbox',
|
||||||
'stage',
|
'stage',
|
||||||
|
'html',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
@ -127,8 +127,8 @@ class WebhookHandler implements ShouldQueue
|
|||||||
$this->company
|
$this->company
|
||||||
);
|
);
|
||||||
|
|
||||||
// if ($response->getStatusCode() == 410 || $response->getStatusCode() == 200)
|
// if ($response->getStatusCode() == 410)
|
||||||
// return true;// $subscription->delete();
|
// return true; $subscription->delete();
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(\Exception $e){
|
catch(\Exception $e){
|
||||||
|
@ -65,9 +65,10 @@ class SupportMessageSent extends Mailable
|
|||||||
$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" : "";
|
$migrated = strlen($company->company_key) == 32 ? "M" : "";
|
||||||
|
$trial = $account->isTrial() ? "T" : "";
|
||||||
|
|
||||||
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}{$trial} :: {$plan} :: ".date('M jS, g:ia');
|
||||||
else
|
else
|
||||||
$subject = "{$priority}Self Hosted :: {$plan} :: {$is_large}{$platform}{$migrated} :: ".date('M jS, g:ia');
|
$subject = "{$priority}Self Hosted :: {$plan} :: {$is_large}{$platform}{$migrated} :: ".date('M jS, g:ia');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user