|
@@ -1365,7 +1365,7 @@ FROM claim
|
|
|
join client on claim.client_id = client.id
|
|
|
join pro cp on claim.pro_id = cp.id
|
|
|
left join note on claim.note_id = note.id
|
|
|
- left join care_month on claim.cm_id = care_month.id
|
|
|
+ left join care_month on claim.care_month_id = care_month.id
|
|
|
left join app_session on claim.status_updated_by_session_id = app_session.id
|
|
|
left join pro sp on app_session.pro_id = sp.id
|
|
|
--WHERE claim.status IS NULL OR claim.status = 'NEW'
|