FIX_ADD_DEPENDENCE
This commit is contained in:
parent
eaac7815cf
commit
bcbae21c41
@ -369,7 +369,7 @@ class EmployeeRestController extends AdminController
|
|||||||
$basic_cover_si = $policy_terms->sum_insured;
|
$basic_cover_si = $policy_terms->sum_insured;
|
||||||
}
|
}
|
||||||
|
|
||||||
$checkDataExist = $this->employeePolicyModel->where('employee_id',$employee_id)->where('client_policy_id',$client_policy_id)->first();
|
$checkDataExist = $this->employeePolicyModel->where('employee_id',$employee_id)->where('client_policy_id',$client_policy_id)->where('is_active', 1)->first();
|
||||||
|
|
||||||
if($checkDataExist){
|
if($checkDataExist){
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user