1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes for observers

This commit is contained in:
David Bomba 2023-02-07 07:59:14 +11:00
parent 7a378863a5
commit 2eb3136b74

View File

@ -82,7 +82,7 @@ class ClientContactObserver
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();
});