mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:54:31 -04:00
Minor fixes for observers
This commit is contained in:
parent
7a378863a5
commit
2eb3136b74
@ -82,7 +82,7 @@ class ClientContactObserver
|
|||||||
|
|
||||||
CreditInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
CreditInvitation::withTrashed()->where('client_contact_id', $client_contact_id)->cursor()->each(function ($invite){
|
||||||
|
|
||||||
if($invite->credits()->doesnthave('invitations'))
|
if($invite->credit()->doesnthave('invitations'))
|
||||||
$invite->credit->service()->createInvitations();
|
$invite->credit->service()->createInvitations();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user