1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Minor fixes

This commit is contained in:
David Bomba 2021-10-01 08:55:35 +10:00
parent 5f6fa2371a
commit b28d76d491
4 changed files with 7 additions and 2 deletions

View File

@ -500,7 +500,7 @@ class CompanyController extends BaseController
$account->delete();
if(Ninja::isHosted())
\Modules\Admin\Jobs\Account\NinjaDeletedAccount::dispatch($account_key);
\Modules\Admin\Jobs\Account\NinjaDeletedAccount::dispatch($account_key, $request->all());
LightLogs::create(new AccountDeleted())
->increment()

View File

@ -30,6 +30,7 @@ class SubdomainController extends BaseController
'invoiceninja',
'cname',
'sandbox',
'stage',
];
public function __construct()

View File

@ -407,7 +407,7 @@ class Account extends BaseModel
}
}
catch(\Exception $e){
\Sentry\captureMessage("I encountered an error with email quotas - defaulting to SEND");
\Sentry\captureMessage("I encountered an error with email quotas for account {$this->key} - defaulting to SEND");
}
return false;

View File

@ -45,6 +45,10 @@ class TriggeredActions extends AbstractService
$this->quote = $this->quote->service()->markSent()->save();
}
if ($this->request->has('convert') && $this->request->input('convert') == 'true') {
$this->quote = $this->quote->service()->convert()->save();
}
return $this->quote;
}