diff --git a/app/Controllers/EmpDataServiceController.php b/app/Controllers/EmpDataServiceController.php index 43d26b3b..0cc8c4f4 100755 --- a/app/Controllers/EmpDataServiceController.php +++ b/app/Controllers/EmpDataServiceController.php @@ -1496,7 +1496,9 @@ class EmpDataServiceController extends BaseController } } else { - $tpa_id_all[$current_tpa_id][] = $key; + if($current_tpa_id != "" && $current_tpa_id != null){ + $tpa_id_all[$current_tpa_id][] = $key; + } } //--- TPA ID Duplicate check end --- diff --git a/app/Controllers/EmployeeController.php b/app/Controllers/EmployeeController.php index 050437cd..06bb8532 100755 --- a/app/Controllers/EmployeeController.php +++ b/app/Controllers/EmployeeController.php @@ -1914,6 +1914,7 @@ class EmployeeController extends AdminController } $excel_data = $empDataServiceController->readExcelFileToArray($file_name_with_path); + // dd($excel_data); $excelErrorData['excel_header'] = $excel_data[0]; unset($excel_data[0]); @@ -1976,7 +1977,7 @@ class EmployeeController extends AdminController $excelErrorData['excel_data'] = $finalArray; $excelErrorData['file_id'] = $file_id; - // dd($finalArray); + // dd($excelErrorData); echo view('export_import_error_list', $excelErrorData); } diff --git a/app/Views/export_import_error_list.php b/app/Views/export_import_error_list.php index af4601a9..fcadf402 100755 --- a/app/Views/export_import_error_list.php +++ b/app/Views/export_import_error_list.php @@ -82,8 +82,9 @@ table.dataTable tbody td { > ';