PDF PREVIEW ISSUE STARTED
This commit is contained in:
parent
796f7a7255
commit
78942fa049
@ -6131,9 +6131,9 @@ public function getPDFormDetailsJSON_post()
|
|||||||
$t = $this->load->view('report_templates/JSONTOREPORT_DI_AI_ADDON',$data,true);
|
$t = $this->load->view('report_templates/JSONTOREPORT_DI_AI_ADDON',$data,true);
|
||||||
}
|
}
|
||||||
//$t = $this->load->view('temp_html.html',null,true);
|
//$t = $this->load->view('temp_html.html',null,true);
|
||||||
//echo $t;
|
echo $t;
|
||||||
|
|
||||||
//die();
|
die();
|
||||||
|
|
||||||
$total_replaces = substr_count($t,'<span class="tooltip">');
|
$total_replaces = substr_count($t,'<span class="tooltip">');
|
||||||
for($i = 0 ;$i < $total_replaces;$i++)
|
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);
|
$pdid = $this->uri->segment(3);
|
||||||
log_message('DEBUG',"getPDReportPDFpreview_post called ");//die();
|
log_message('DEBUG',"getPDReportPDFpreview_post called ");//die();
|
||||||
$random_string = $this->uri->segment(2);
|
$random_string = $this->uri->segment(2);
|
||||||
|
|||||||
34
api/application/helpers/symlinks_helper.php
Normal file
34
api/application/helpers/symlinks_helper.php
Normal 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';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
@ -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 "<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']) : '';
|
echo $employeement_data['total_business_previous_experience'] ? ("<p>Previously, applicant ".$employeement_data['total_business_previous_experience']) : '';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user