mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fixes for event failure when viewing an invoice in the portal
This commit is contained in:
parent
c8eb191bb2
commit
872ce3a3bc
@ -46,10 +46,10 @@ class InvoiceViewedActivity implements ShouldQueue
|
||||
|
||||
$fields = new \stdClass;
|
||||
|
||||
$fields->user_id = $event->invoice->user_id;
|
||||
$fields->company_id = $event->invoice->company_id;
|
||||
$fields->user_id = $event->invitation->user_id;
|
||||
$fields->company_id = $event->invitation->company_id;
|
||||
$fields->activity_type_id = Activity::VIEW_INVOICE;
|
||||
$fields->client_id = $event->invitation->client_id;
|
||||
$fields->client_id = $event->invitation->invoice->client_id;
|
||||
$fields->client_contact_id = $event->invitation->client_contact_id;
|
||||
$fields->invitation_id = $event->invitation->id;
|
||||
$fields->invoice_id = $event->invitation->invoice_id;
|
||||
|
Loading…
Reference in New Issue
Block a user