Fixes for client observer
This commit is contained in:
parent
f2de397459
commit
ff97330d54
|
|
@ -1 +1 @@
|
||||||
5.5.59
|
5.5.60
|
||||||
|
|
@ -67,7 +67,7 @@ class ClientContactObserver
|
||||||
|
|
||||||
QuoteInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
QuoteInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
||||||
|
|
||||||
if($invite->invoice()->doesnthave('invitations'))
|
if($invite->quote()->doesnthave('invitations'))
|
||||||
$invite->quote->service()->createInvitations();
|
$invite->quote->service()->createInvitations();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
@ -75,7 +75,7 @@ class ClientContactObserver
|
||||||
RecurringInvoiceInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
RecurringInvoiceInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
||||||
|
|
||||||
if($invite->recurring_invoice()->doesnthave('invitations'))
|
if($invite->recurring_invoice()->doesnthave('invitations'))
|
||||||
$invite->quote->service()->createInvitations();
|
$invite->recurring_invoice->service()->createInvitations();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ return [
|
||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||||
'app_version' => '5.5.59',
|
'app_version' => '5.5.60',
|
||||||
'app_tag' => '5.5.59',
|
'app_tag' => '5.5.60',
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', ''),
|
'api_secret' => env('API_SECRET', ''),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue