diff --git a/app/Listeners/Quote/QuoteViewedActivity.php b/app/Listeners/Quote/QuoteViewedActivity.php index 0a25130e6807..777f86bfbb1f 100644 --- a/app/Listeners/Quote/QuoteViewedActivity.php +++ b/app/Listeners/Quote/QuoteViewedActivity.php @@ -50,7 +50,7 @@ class QuoteViewedActivity implements ShouldQueue $fields->user_id = $event->invitation->quote->user_id; $fields->company_id = $event->invitation->company_id; $fields->activity_type_id = Activity::VIEW_QUOTE; - $fields->client_id = $event->invitation->client_id; + $fields->client_id = $event->invitation->quote->client_id; $fields->client_contact_id = $event->invitation->client_contact_id; $fields->invitation_id = $event->invitation->id; $fields->quote_id = $event->invitation->quote_id;