Fix billing case creation reusing old records
This commit is contained in:
parent
45c36e730c
commit
700741ab9b
|
|
@ -159,6 +159,7 @@ class CaseMaster extends BaseController
|
||||||
$existing = $this->db->table('organization_case_master')
|
$existing = $this->db->table('organization_case_master')
|
||||||
->where('case_type', $caseType)
|
->where('case_type', $caseType)
|
||||||
->where('p_id', $pId)
|
->where('p_id', $pId)
|
||||||
|
->where('status', 0)
|
||||||
->get()
|
->get()
|
||||||
->getResult();
|
->getResult();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user