mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fixes for invoicewasviewed
This commit is contained in:
parent
502bd4ad2d
commit
f28a604d84
@ -54,7 +54,7 @@ class InvitationController extends Controller
|
|||||||
|
|
||||||
event(new InvitationWasViewed($invitation->{$entity}, $invitation, $invitation->{$entity}->company, Ninja::eventVars()));
|
event(new InvitationWasViewed($invitation->{$entity}, $invitation, $invitation->{$entity}->company, Ninja::eventVars()));
|
||||||
|
|
||||||
$this->fireEntityViewedEvent($invitation->{$entity}, $entity);
|
$this->fireEntityViewedEvent($invitation, $entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect()->route('client.'.$entity.'.show', [$entity => $this->encodePrimaryKey($invitation->{$key})]);
|
return redirect()->route('client.'.$entity.'.show', [$entity => $this->encodePrimaryKey($invitation->{$key})]);
|
||||||
|
Loading…
Reference in New Issue
Block a user