mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for invitation resolution
This commit is contained in:
parent
820ca43020
commit
4586d9ddf5
@ -30,7 +30,8 @@ class CreditController extends Controller
|
||||
{
|
||||
set_time_limit(0);
|
||||
|
||||
$invitation = $credit->invitations()->where('client_contact_id', auth()->user()->id)->first();
|
||||
// $invitation = $credit->invitations()->where('client_contact_id', auth()->user()->id)->first();
|
||||
$invitation = $credit->invitations()->where('client_contact_id', auth()->guard('contact')->user()->id)->first();
|
||||
|
||||
$data = [
|
||||
'credit' => $credit,
|
||||
|
Loading…
Reference in New Issue
Block a user