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