mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Ensure contact ids are stored in activity table
This commit is contained in:
parent
012d33c723
commit
28a24df77b
@ -53,8 +53,9 @@ class InvoiceEmailFailedActivity implements ShouldQueue
|
||||
|
||||
$fields->user_id = $user_id;
|
||||
|
||||
$fields->invoice_id = $event->invitation->invoice->id;
|
||||
$fields->invoice_id = $event->invitation->invoice_id;
|
||||
$fields->client_id = $event->invitation->invoice->client_id;
|
||||
$fields->client_contact_id = $event->invitation->client_contact_id;
|
||||
$fields->company_id = $event->invitation->invoice->company_id;
|
||||
$fields->activity_type_id = Activity::EMAIL_INVOICE_FAILED;
|
||||
$fields->notes = $event->message;
|
||||
|
@ -53,7 +53,6 @@ class QuoteEmailActivity implements ShouldQueue
|
||||
$fields->client_id = $event->invitation->quote->client_id;
|
||||
$fields->company_id = $event->invitation->quote->company_id;
|
||||
$fields->client_contact_id = $event->invitation->quote->client_contact_id;
|
||||
$fields->client_id = $event->invitation->quote->client_id;
|
||||
$fields->activity_type_id = Activity::EMAIL_QUOTE;
|
||||
|
||||
$this->activity_repo->save($fields, $event->invitation, $event->event_vars);
|
||||
|
Loading…
Reference in New Issue
Block a user