Skip to content

Commit

Permalink
Bug/Remove JLG Constraint on client loan (#322)
Browse files Browse the repository at this point in the history
Co-authored-by: Julius Peter Oketayot <[email protected]>
  • Loading branch information
fiter-julius-oketayot and Julius Peter Oketayot authored Dec 7, 2023
1 parent 7357b76 commit a37f763
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ private GroupTypeLoanMapper() {
INNER JOIN m_client mc ON (mgc.client_id = mc.id AND mpgm.dpi = mc.dpi)
INNER JOIN m_loan ml ON (ml.client_id = mc.id OR ml.group_id = mg.id)
WHERE mpg.id = ? AND mpg.prequalification_type_enum = 2 AND (ml.client_id = (SELECT mt.id FROM m_client mt WHERE mt.dpi = ?))
AND ml.loan_status_id = 100 AND ml.group_id IS NOT NULL
AND ml.loan_status_id = 100
GROUP BY ml.id
""";
}
Expand Down

0 comments on commit a37f763

Please sign in to comment.