Minor fixes for quote approvals
This commit is contained in:
parent
4900946fa1
commit
cf3140f032
3 changed files with 9 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
5.3.69
|
||||
5.3.70
|
||||
|
|
@ -131,6 +131,12 @@ class QuoteService
|
|||
{
|
||||
$this->setStatus(Quote::STATUS_APPROVED)->save();
|
||||
|
||||
if (!$contact) {
|
||||
$contact = $this->quote->invitations->first()->contact;
|
||||
}
|
||||
|
||||
event(new QuoteWasApproved($contact, $this->quote, $this->quote->company, Ninja::eventVars()));
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ return [
|
|||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||
'app_version' => '5.3.69',
|
||||
'app_tag' => '5.3.69',
|
||||
'app_version' => '5.3.70',
|
||||
'app_tag' => '5.3.70',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', ''),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue