Skip to content

Commit

Permalink
Merge pull request #1524 from bakaphp/development
Browse files Browse the repository at this point in the history
releas 36
  • Loading branch information
kaioken authored Jun 16, 2024
2 parents 5262ddd + 1868403 commit c197466
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ public function getLeadTaskItems(
$join->on('company_task_list_items.id', '=', 'company_task_engagement_items.task_list_item_id')
->where('company_task_engagement_items.lead_id', '=', $lead->getId());
})
->select(
'company_task_list_items.*',
'company_task_engagement_items.lead_id',
'company_task_engagement_items.status',
'company_task_engagement_items.engagement_start_id',
'company_task_engagement_items.engagement_end_id',
'company_task_engagement_items.created_at',
'company_task_engagement_items.updated_at'
);
->leftJoin('company_task_list', 'company_task_list.id', '=', 'company_task_list_items.task_list_id')
->where('company_task_list.companies_id', '=', $lead->companies_id)
->select(
'company_task_list_items.*',
'company_task_engagement_items.lead_id',
'company_task_engagement_items.status',
'company_task_engagement_items.engagement_start_id',
'company_task_engagement_items.engagement_end_id',
'company_task_engagement_items.created_at',
'company_task_engagement_items.updated_at'
);
}
}

0 comments on commit c197466

Please sign in to comment.