PDF PREVIEW ISSUE STARTED

This commit is contained in:
Velz2020 2020-03-05 17:30:43 +05:30
parent 796f7a7255
commit 78942fa049
3 changed files with 40 additions and 5 deletions

View File

@ -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,'<span class="tooltip">');
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);

View File

@ -0,0 +1,34 @@
<?php
class SYMLINKS
{
public static function createSymLinks($pd_id = null)
{
//echo SELF::checkOS();
//check os
if(SELF::checkOS() == 'LINUX')
{
}
}
public static function checkOS()
{
if (strtoupper(substr(PHP_OS_FAMILY, 0, 3)) === 'WIN')
{
return 'WIN';
} else {
return 'LINUX';
}
}
}
?>

View File

@ -1153,7 +1153,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
echo "<p>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.</p>";
echo "Applicant has total work experience of ". $employeement_data['total_business_experience']." years.</p>";
echo $employeement_data['total_business_previous_experience'] ? ("<p>Previously, applicant ".$employeement_data['total_business_previous_experience']) : '';