From 77235dd3b19487144ad6e4da93e71771c7993e27 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Mon, 3 Oct 2022 18:31:09 +0530 Subject: [PATCH] FaceCrop Progress Bar : ps --- api/application/controllers/PD_Controller.php | 3 +- .../report_templates/JSONTOREPORT_CLIX.php | 39 ++--- .../JSONTOREPORT_CLIX_SMARTPD.php | 36 ++--- .../JSONTOREPORT_CLIX_TELE_PD.php | 39 ++--- .../report_templates/JSONTOREPORT_DI_AI.php | 92 +++++++----- .../JSONTOREPORT_DI_AI_ADDON.php | 3 - .../JSONTOREPORT_DI_AI_SMARTPD.php | 39 ++--- .../JSONTOREPORT_DI_AI_TELE_PD.php | 35 +++-- .../report_templates/JSONTOREPORT_RI.php | 41 ++--- .../JSONTOREPORT_RI_SMARTPD.php | 41 ++--- .../JSONTOREPORT_RI_TELE_PD.php | 41 ++--- .../report_templates/JSONTOREPORT_SAL.php | 41 ++--- .../JSONTOREPORT_SAL_SMARTPD.php | 41 ++--- .../JSONTOREPORT_SAL_TELE_PD.php | 41 ++--- .../views/report_templates/dsc_progress.php | 142 ++++++++++++++++++ 15 files changed, 433 insertions(+), 241 deletions(-) create mode 100644 api/application/views/report_templates/dsc_progress.php diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 34187890..2c62bf5f 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -5812,7 +5812,7 @@ class PD_Controller extends REST_Controller } } - $db_result = $this->PD_Model->selectCustomRecords(array('facecrop'), array('fk_pd_id' => $pdid,'isactive'=>1), PDAPPLICANTSDETAILS); + $db_result = $this->PD_Model->selectCustomRecords(array('facecrop'), array('fk_pd_id' => $pdid,'isactive'=>1,'facemark_image_generated'=>1), PDAPPLICANTSDETAILS); $fc_array = array(); if(!empty($db_result)){ for ($dinx = 0; $dinx < count($db_result); $dinx++) { @@ -5909,6 +5909,7 @@ class PD_Controller extends REST_Controller $pdf_doc = $this->pdfgenerator->generate($t, $filename = 'version', $stream = false, $paper = 'A4', $orientation = "portrait"); //End of PDF Gen using DOM PDF $output_file2 = $this->external_path . "/pd_reports/" . $pdid . "/sample.pdf"; + // $output_file2 = $this->external_path . "/pd_reports/sample.pdf"; $ti = file_put_contents($output_file2, $pdf_doc); echo $output_file2; echo $ti; diff --git a/api/application/views/report_templates/JSONTOREPORT_CLIX.php b/api/application/views/report_templates/JSONTOREPORT_CLIX.php index 4c80c722..f780fa32 100644 --- a/api/application/views/report_templates/JSONTOREPORT_CLIX.php +++ b/api/application/views/report_templates/JSONTOREPORT_CLIX.php @@ -6,9 +6,6 @@ defined('BASEPATH') OR exit('No direct script access allowed'); - - - diff --git a/api/application/views/report_templates/JSONTOREPORT_RI.php b/api/application/views/report_templates/JSONTOREPORT_RI.php index 3714d300..c15eb7db 100644 --- a/api/application/views/report_templates/JSONTOREPORT_RI.php +++ b/api/application/views/report_templates/JSONTOREPORT_RI.php @@ -4,11 +4,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); ?> - + - - - + +
+
+

Similarty

+
+
+ 70% +
+
+

Similarty

+
+
+ 55% +
+
+

Similarty

+
+
+ 67% +
+
+

Similarty

+
+
+ 37 +
+
+
+ + + \ No newline at end of file