FIX_LIVE_ISSUE_EXCEL_EXPORT_NOT_WORKING_FOR_MULTIPLE_EVENT_IN_CLIENT_RED_BARON : RV
This commit is contained in:
parent
6decc1abae
commit
93ed0ce4e2
@ -868,7 +868,7 @@ class EmpDataServiceController extends BaseController
|
|||||||
|
|
||||||
}else if($value == 'inception'){
|
}else if($value == 'inception'){
|
||||||
$export_data['event_type'] = 'inception';
|
$export_data['event_type'] = 'inception';
|
||||||
$dependentAdditionData = $this->employeePolicyModel->getInceptionEmployeeDataForExportExcel($export_data);
|
$inceptionData = $this->employeePolicyModel->getInceptionEmployeeDataForExportExcel($export_data); //Live issue changes 17-10-2024
|
||||||
|
|
||||||
}else if($value == 'dependent_addition'){
|
}else if($value == 'dependent_addition'){
|
||||||
$export_data['event_type'] = 'dependent_addition';
|
$export_data['event_type'] = 'dependent_addition';
|
||||||
@ -943,12 +943,13 @@ class EmpDataServiceController extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
$template_json = $this->clientPolicyModel
|
$template_json = $this->clientPolicyModel
|
||||||
->select('insurer_excel_export_template.jsoncolumns')
|
->select('insurer_excel_export_template.jsoncolumns')
|
||||||
->join('insurer_excel_export_template', 'insurer_excel_export_template.insurer_id = client_policy.insurer_id and insurer_excel_export_template.policy_type_id = client_policy.policy_type_id')
|
->join('insurer_excel_export_template', 'insurer_excel_export_template.insurer_id = client_policy.insurer_id and insurer_excel_export_template.policy_type_id = client_policy.policy_type_id')
|
||||||
->where('client_policy.id', $export_data['client_policy_id'])
|
->where('client_policy.id', $export_data['client_policy_id'])
|
||||||
->where('insurer_excel_export_template.event_name', 'all')
|
->where('insurer_excel_export_template.event_name', 'all')
|
||||||
->where('insurer_excel_export_template.type_name', $export_data['actions'])
|
->where('insurer_excel_export_template.is_active', 1) //Live issue changes 17-10-2024
|
||||||
->first();
|
->where('insurer_excel_export_template.type_name', $export_data['actions'])
|
||||||
|
->first();
|
||||||
|
|
||||||
|
|
||||||
if(!empty($template_json) && $template_json != null){
|
if(!empty($template_json) && $template_json != null){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user