diff --git a/app/Controllers/ClientController.php b/app/Controllers/ClientController.php index c2c94c0f..f7bb29ba 100755 --- a/app/Controllers/ClientController.php +++ b/app/Controllers/ClientController.php @@ -4213,7 +4213,7 @@ class ClientController extends AdminController $client_data = [ 'client_type' => $postData['client_type'], 'client_name' => $postData['client_name'], - 'short_name' => $postData['short_name'], + 'short_name' => $postData['short_name'] ?? $postData['client_name'], 'pan' => $postData['pan'], 'client_code' => generate_client_code(), ]; @@ -5031,24 +5031,24 @@ class ClientController extends AdminController // ---------- EMP SERVICE CONTROLLER -------------------------------------------------------------------------------- - $employeeRestController = new EmployeeServiceController(); - // $employeeRestController->excelFileDataValidation(['file_id' => 1629]); die; - // $employeeRestController->employeesOnboardPreprocess(['file_id' => 726]); - // $employeeRestController->employeesOnboardProcess(['file_id' => 835]); - // $employeeRestController->employeesEnrollmentInsert(['file_id' => 836]); - // $r = Jobs::addJob(['job_name' => 'employeesEnrollmentInsert','payload' => ['file_id' => 721]]); $empServiceController = new EmployeeServiceController(); // $res = $empServiceController->excelFileFormatValidation(['file_id' => '865']); // $res = $empServiceController->excelFileDataValidation(['file_id' => '865']); + // $res = $empServiceController->employeesOnboardPreprocess(['file_id' => 726]); + // $res = $empServiceController->employeesOnboardProcess(['file_id' => 835]); + // $res = $empServiceController->employeesEnrollmentInsert(['file_id' => 836]); // $res = $empServiceController->employeesSIEnhanceProcess(['file_id' => '978']); - // $res = $empServiceController->employeeDisembark(['file_id' => '1681']); dd( $res); + // $res = $empServiceController->employeeDisembark(['file_id' => '1681']); + // $res = $empServiceController->employeesCorrectionProcess(['file_id' => '1681']); + // dd( $res); + + // ---------- POLICY TRANSACTION CONTROLLER -------------------------------------------------------------------------------- $policyTransactionController = new PolicyTransactionController(); // $res = $policyTransactionController->validateInsurerStatement(['file_id' => '17']); // $res = $policyTransactionController->updateInsurerStatement(['file_id' => '22']); // dd('-----', $res); - // ----------EMP DATA SERVICE CONTROLLER-------------------------------------------------------------------------------- $batch_data = [ @@ -5100,10 +5100,6 @@ class ClientController extends AdminController // return $this->downloadInsurerExcelExport($batch_data); // dd($res); die; - $PolicyTransactionController = new PolicyTransactionController(); - $res = $PolicyTransactionController->validateInsurerStatement(['file_id' => '131']); - dd($res); - // $params = [ // 'client_policy_id' => 6090, // 'action_type' => "inception", diff --git a/app/Views/newClientModal.php b/app/Views/newClientModal.php index 7343571a..dfe4d66a 100644 --- a/app/Views/newClientModal.php +++ b/app/Views/newClientModal.php @@ -86,7 +86,7 @@