diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index b716ec47..ac9d6370 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -6131,9 +6131,9 @@ public function getPDFormDetailsJSON_post() $t = $this->load->view('report_templates/JSONTOREPORT_DI_AI_ADDON',$data,true); } //$t = $this->load->view('temp_html.html',null,true); - //echo $t; + echo $t; - //die(); + die(); $total_replaces = substr_count($t,''); for($i = 0 ;$i < $total_replaces;$i++) @@ -8086,8 +8086,9 @@ public function getCompaniesListsFromGeneralFormRawJSON_post() { - //echo json_encode(array('link'=>'https://demo.pdgenie.com/ssa_external_data/testing/pd_reports/1135/sample.pdf'));die(); - + $this->load->helper('SYMLINKS'); + SYMLINKS::createSymLinks(); + die(); $pdid = $this->uri->segment(3); log_message('DEBUG',"getPDReportPDFpreview_post called ");//die(); $random_string = $this->uri->segment(2); diff --git a/api/application/helpers/symlinks_helper.php b/api/application/helpers/symlinks_helper.php new file mode 100644 index 00000000..f2ed0c8b --- /dev/null +++ b/api/application/helpers/symlinks_helper.php @@ -0,0 +1,34 @@ + \ No newline at end of file diff --git a/api/application/views/report_templates/JSONTOREPORT_SAL.php b/api/application/views/report_templates/JSONTOREPORT_SAL.php index 3883b490..55b33dc3 100644 --- a/api/application/views/report_templates/JSONTOREPORT_SAL.php +++ b/api/application/views/report_templates/JSONTOREPORT_SAL.php @@ -1153,7 +1153,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); echo "

The applicant has served ". $employeement_data['how_long_year'] ." Years ".($employeement_data['how_long_month'] ? ' and '.$employeement_data['how_long_month'].' months' : '' )." as employee in this firm / company. " ; - echo "Applicant has total work experience of ". $employeement_data['how_long_month']." years.

"; + echo "Applicant has total work experience of ". $employeement_data['total_business_experience']." years.

"; echo $employeement_data['total_business_previous_experience'] ? ("

Previously, applicant ".$employeement_data['total_business_previous_experience']) : '';