mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 04:04:47 -04:00
Minor fixes
This commit is contained in:
parent
b38b0e4517
commit
2ac46b7392
@ -84,7 +84,7 @@ class InvitationController extends Controller
|
|||||||
->with($entity)
|
->with($entity)
|
||||||
->where('key', $invitation_key)
|
->where('key', $invitation_key)
|
||||||
->with('contact.client')
|
->with('contact.client')
|
||||||
->first();
|
->firstOrFail();
|
||||||
|
|
||||||
if($invitation->{$entity}->is_deleted)
|
if($invitation->{$entity}->is_deleted)
|
||||||
return $this->render('generic.not_available', ['account' => $invitation->company->account, 'company' => $invitation->company]);
|
return $this->render('generic.not_available', ['account' => $invitation->company->account, 'company' => $invitation->company]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user