From 0f6b602f6ab848cd03d57c3df2d9d58b264e72f0 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Wed, 26 Apr 2023 13:51:44 +0530 Subject: [PATCH] DI AI Report Only : ps --- .../report_templates/JSONTOREPORT_DI_AI.php | 22 +++++++++-------- .../JSONTOREPORT_DI_AI_ADDON.php | 22 +++++++++-------- .../JSONTOREPORT_DI_AI_SMARTPD.php | 22 +++++++++-------- .../JSONTOREPORT_DI_AI_TELE_PD.php | 24 ++++++++++--------- 4 files changed, 49 insertions(+), 41 deletions(-) diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php index 5e07f414..00c219d6 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php @@ -706,7 +706,7 @@ if ( isset($pdf) ) { //print_r($person_met_data);die(); echo '
'; echo '

Person(s) Met:

'; - echo '
'; + echo '
'; foreach($person_met_data as $pk => $person) { $display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : ''; @@ -755,14 +755,16 @@ if ( isset($pdf) ) { $progress_bar_class = 'rcorners_red'; } //########################### Percentage Bar Section ######################################### - echo '
'; - echo '
'.$si[   - '.$symbol.'  '.$ci_arr_value[
  '; - echo '

Similarity - '.$similarity.' %

  

'; - echo '
-
'; - $check_fc_table++; + echo '
'; + echo ' + + + + + +
'.$si['.$symbol.''.$ci_arr_value[

Similarity + '.$similarity.' %

'; + echo '
'; //########################### End of Percentage Bar Section ######################################### } @@ -770,7 +772,7 @@ if ( isset($pdf) ) { } echo''; } - } // line 711 foreach closed here. + } // line 709 foreach closed here. echo '
'; echo '
'; ?> diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php index 52963f13..615b38a7 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI_ADDON.php @@ -668,7 +668,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); //print_r($person_met_data);die(); echo '
'; echo '

Person(s) Met:

'; - echo '
'; + echo '
'; foreach($person_met_data as $pk => $person) { $display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : ''; @@ -717,14 +717,16 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $progress_bar_class = 'rcorners_red'; } //########################### Percentage Bar Section ######################################### - echo '
'; - echo '
'.$si[   - '.$symbol.'  '.$ci_arr_value[
  '; - echo '

Similarity - '.$similarity.' %

  

'; - echo '
-
'; - $check_fc_table++; + echo '
'; + echo ' + + + + + +
'.$si['.$symbol.''.$ci_arr_value[

Similarity + '.$similarity.' %

'; + echo '
'; //########################### End of Percentage Bar Section ######################################### } @@ -732,7 +734,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); } echo''; } - } // line 711 foreach closed here. + } // line 671 foreach closed here. echo '
'; echo '
'; diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI_SMARTPD.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI_SMARTPD.php index 043ec21f..21d6867c 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI_SMARTPD.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI_SMARTPD.php @@ -709,7 +709,7 @@ if ( isset($pdf) ) { //print_r($person_met_data);die(); echo '
'; echo '

Person(s) Met:

'; - echo '
'; + echo '
'; foreach($person_met_data as $pk => $person) { $display_for_person_met =$person['relations'] != "" ? substr_replace($person['relations'],'.',strrpos($person['relations'],','),1) : ''; @@ -758,14 +758,16 @@ if ( isset($pdf) ) { $progress_bar_class = 'rcorners_red'; } //########################### Percentage Bar Section ######################################### - echo '
'; - echo '
'.$si[   - '.$symbol.'  '.$ci_arr_value[
  '; - echo '

Similarity - '.$similarity.' %

  

'; - echo '
-
'; - $check_fc_table++; + echo '
'; + echo ' + + + + + +
'.$si['.$symbol.''.$ci_arr_value[

Similarity + '.$similarity.' %

'; + echo '
'; //########################### End of Percentage Bar Section ######################################### } @@ -773,7 +775,7 @@ if ( isset($pdf) ) { } echo''; } - } // line 711 foreach closed here. + } // line 712 foreach closed here. echo '
'; echo '
'; ?> diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI_TELE_PD.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI_TELE_PD.php index 06e39738..c600b605 100644 --- a/api/application/views/report_templates/JSONTOREPORT_DI_AI_TELE_PD.php +++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI_TELE_PD.php @@ -736,8 +736,8 @@ if ( isset($pdf) ) { $ci = $person['compare_image']; if(!empty($ci)){ $si = $person['source_image']; - $notequal_mark ='
'; - $equal_mark ='
=
'; + $notequal_mark =''; + $equal_mark ='='; echo "

Face Comparison :

"; echo ''; $check_fc_table = 0; @@ -754,14 +754,16 @@ if ( isset($pdf) ) { $progress_bar_class = 'rcorners_red'; } //########################### Percentage Bar Section ######################################### - echo ''; - $check_fc_table++; + echo ''; //########################### End of Percentage Bar Section ######################################### } @@ -769,7 +771,7 @@ if ( isset($pdf) ) { } echo'
'; - echo '
'.$si[   - '.$symbol.'  '.$ci_arr_value[
  '; - echo '

Similarity - '.$similarity.' %

  

'; - echo '
-
'; + echo ' + + + + + +
'.$si['.$symbol.''.$ci_arr_value[

Similarity + '.$similarity.' %

'; + echo '
'; } - } // line 711 foreach closed here. + } // line 709 foreach closed here. echo '
'; echo '
'; ?>