NEW API AND LOAN REPORT FILED ADDED
This commit is contained in:
parent
47c93a0776
commit
bea3ec2815
@ -2264,7 +2264,7 @@ class PD_Controller extends REST_Controller {
|
|||||||
$where_condition_array['rental_count_id'] = $rental_count_id;
|
$where_condition_array['rental_count_id'] = $rental_count_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
$id = $this->PD_Model->updateRecords($fields,PDFORMDETAILSJSON,$where_condition_array);
|
//$id = $this->PD_Model->updateRecords($fields,PDFORMDETAILSJSON,$where_condition_array);
|
||||||
|
|
||||||
|
|
||||||
/*****Call Form Specific funcitons to convert RAW JSON Data to Processed JSON DATA******/
|
/*****Call Form Specific funcitons to convert RAW JSON Data to Processed JSON DATA******/
|
||||||
@ -5036,6 +5036,39 @@ class PD_Controller extends REST_Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function demo($var) {
|
||||||
|
echo " Before try block";
|
||||||
|
try {
|
||||||
|
|
||||||
|
$try = 'THis is declared in side try block';
|
||||||
|
echo "\n Inside try block";
|
||||||
|
|
||||||
|
// If var is zero then only if will be executed
|
||||||
|
if($var == 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
// If var is zero then only exception is thrown
|
||||||
|
throw new Exception('Number is zero.');
|
||||||
|
|
||||||
|
// This line will never be executed
|
||||||
|
echo "\n After throw (It will never be executed)";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Catch block will be executed only
|
||||||
|
// When Exception has been thrown by try block
|
||||||
|
catch(Exception $e) {
|
||||||
|
echo "\n Exception Caught", $e->getMessage();
|
||||||
|
echo "\n Exception Caught", $e->getLine();
|
||||||
|
echo "\n Exception Caught", $e->getFile();
|
||||||
|
echo $try;
|
||||||
|
}
|
||||||
|
|
||||||
|
// This line will be executed whether
|
||||||
|
// Exception has been thrown or not
|
||||||
|
echo "\n After catch (will be always executed)";
|
||||||
|
}
|
||||||
|
|
||||||
public function codeigniterViewTest_post()
|
public function codeigniterViewTest_post()
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -5044,6 +5077,11 @@ class PD_Controller extends REST_Controller {
|
|||||||
|
|
||||||
// $this->load->helper('push_notification');
|
// $this->load->helper('push_notification');
|
||||||
// PUSH_NOTIFICATION::notifyMob('fzVpWPyynTI:APA91bH16QpgugWec5VAMRPXu8kDFytkMRxXGRJGm1XJwd5H6oWmp8OCTfx7F8qj97zC0i7oyg73uRFkZS6rOxeJbkTk6KJN5mYZT5gRJIDJ_CQ6n6nuQZ5LwFs9_x9cr5sraA5ADyMu','EST','test mesg from server',1);die();
|
// PUSH_NOTIFICATION::notifyMob('fzVpWPyynTI:APA91bH16QpgugWec5VAMRPXu8kDFytkMRxXGRJGm1XJwd5H6oWmp8OCTfx7F8qj97zC0i7oyg73uRFkZS6rOxeJbkTk6KJN5mYZT5gRJIDJ_CQ6n6nuQZ5LwFs9_x9cr5sraA5ADyMu','EST','test mesg from server',1);die();
|
||||||
|
|
||||||
|
//$this->demo(5);
|
||||||
|
// $this->demo(0);
|
||||||
|
// die();
|
||||||
|
|
||||||
$is_regenerate = 0;
|
$is_regenerate = 0;
|
||||||
if(isset($records['regenerate']))
|
if(isset($records['regenerate']))
|
||||||
{
|
{
|
||||||
@ -7726,6 +7764,7 @@ class PD_Controller extends REST_Controller {
|
|||||||
//print_r($score);die();
|
//print_r($score);die();
|
||||||
$score_questions_display = $this->PD_Model->getScoreableQuestionToDispaly($pdid);
|
$score_questions_display = $this->PD_Model->getScoreableQuestionToDispaly($pdid);
|
||||||
$t = $this->load->view('report_templates/scorecard',array('pd_score' => $score,'score_questions_display' => $score_questions_display),true);
|
$t = $this->load->view('report_templates/scorecard',array('pd_score' => $score,'score_questions_display' => $score_questions_display),true);
|
||||||
|
echo $t;die();
|
||||||
|
|
||||||
$data['dataStatus'] = true;
|
$data['dataStatus'] = true;
|
||||||
$data['status'] = REST_Controller::HTTP_OK;
|
$data['status'] = REST_Controller::HTTP_OK;
|
||||||
|
|||||||
Binary file not shown.
@ -175,6 +175,53 @@ class GETPROCESSEDJSON
|
|||||||
// print_r($loan);
|
// print_r($loan);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(array_key_exists('state',$raw_json))
|
||||||
|
{
|
||||||
|
//print_r($address);
|
||||||
|
$CI->db->SELECT( $master_tables_field_names['STATE'] );
|
||||||
|
$CI->db->FROM(STATE);
|
||||||
|
$CI->db->WHERE('isactive',1);
|
||||||
|
$CI->db->WHERE($master_tables_pkid['STATE'] ,$raw_json['state']);
|
||||||
|
$adress_type_name= $CI->db->GET()->result_array();
|
||||||
|
//print_r($CI->db->last_query());
|
||||||
|
if(count($adress_type_name))
|
||||||
|
{
|
||||||
|
$raw_json['state_master'] = $adress_type_name[0][$master_tables_field_names['STATE']];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(array_key_exists('city',$raw_json))
|
||||||
|
{
|
||||||
|
//print_r($address);
|
||||||
|
$CI->db->SELECT( $master_tables_field_names['CITY'] );
|
||||||
|
$CI->db->FROM(CITY);
|
||||||
|
$CI->db->WHERE('isactive',1);
|
||||||
|
$CI->db->WHERE($master_tables_pkid['CITY'] ,$raw_json['city']);
|
||||||
|
$city= $CI->db->GET()->result_array();
|
||||||
|
//print_r($CI->db->last_query());
|
||||||
|
if(count($city))
|
||||||
|
{
|
||||||
|
$raw_json['city_master'] = $city[0][$master_tables_field_names['CITY']];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(array_key_exists('pincode',$raw_json))
|
||||||
|
{
|
||||||
|
//print_r($address);
|
||||||
|
$CI->db->SELECT( $master_tables_field_names['PINCODE'] );
|
||||||
|
$CI->db->FROM(PINCODE);
|
||||||
|
$CI->db->WHERE('isactive',1);
|
||||||
|
$CI->db->WHERE($master_tables_pkid['PINCODE'] ,$raw_json['pincode']);
|
||||||
|
$pincode= $CI->db->GET()->result_array();
|
||||||
|
//print_r($CI->db->last_query());
|
||||||
|
if(count($pincode))
|
||||||
|
{
|
||||||
|
$raw_json['pincode_master'] = $pincode[0][$master_tables_field_names['PINCODE']];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $raw_json;
|
return $raw_json;
|
||||||
|
|||||||
@ -22,10 +22,9 @@ class INLINEPHOTOTRANSFORM
|
|||||||
$base64 = self::addTimestampAndReturnBase64($CI,$value['is_person_met_id_proof'],($value['applicant_name'].'-id_proof'),$pd_details,18);
|
$base64 = self::addTimestampAndReturnBase64($CI,$value['is_person_met_id_proof'],($value['applicant_name'].'-id_proof'),$pd_details,18);
|
||||||
$records['individuals'][$key]['is_person_met_id_proof'] = $base64;
|
$records['individuals'][$key]['is_person_met_id_proof'] = $base64;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $records;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $records;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1067,7 +1067,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
<p contenteditable="true"><b>LOAN DETAILS:</b></p>
|
<p contenteditable="true"><b>LOAN DETAILS:</b></p>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
//print_r($loan_form);die();
|
||||||
$loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']);
|
$loan_amount = MYUTIL::customIndianNumberFormat($loan_form['loan_amount']);
|
||||||
echo '<span contenteditable="true">During the PD visit,</span> '.$main_applicant_name.',<span contenteditable="true"> provided the following information about loan applied for:</span>';
|
echo '<span contenteditable="true">During the PD visit,</span> '.$main_applicant_name.',<span contenteditable="true"> provided the following information about loan applied for:</span>';
|
||||||
|
|
||||||
@ -1146,6 +1146,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
||||||
$loan_table_dispaly_rows[] = array('particulars' => 'Estimated Market Value of the property being mortgaged','details' => $rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emv_per_customer']).' ('.MYUTIL::numtowords($loan_form['emv_per_customer']).')');
|
$loan_table_dispaly_rows[] = array('particulars' => 'Estimated Market Value of the property being mortgaged','details' => $rupee_symbol." ".MYUTIL::customIndianNumberFormat($loan_form['emv_per_customer']).' ('.MYUTIL::numtowords($loan_form['emv_per_customer']).')');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($loan_form['property_seller']) && $loan_form['property_seller'] != '')
|
||||||
|
{
|
||||||
|
$loan_table_dispaly_rows[] = array('particulars' => 'Current Owner/Seller of the property','details' => $loan_form['property_seller'] );
|
||||||
|
|
||||||
|
$address_of_owner_seller_property = $loan_form['address'] . (isset($loan_form['city_master']) ? ', '.$loan_form['city_master'] : '') . (isset($loan_form['state_master']) ? ', '.$loan_form['state_master'] : '') . (isset($loan_form['pincode_master']) ? ', '.$loan_form['pincode_master'] : '');
|
||||||
|
|
||||||
|
$loan_table_dispaly_rows[] = array('particulars' => 'Address of the property','details' => $address_of_owner_seller_property );
|
||||||
|
}
|
||||||
//print_r($loan_table_dispaly_rows);
|
//print_r($loan_table_dispaly_rows);
|
||||||
?>
|
?>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|||||||
@ -1,441 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
?><!DOCTYPE html>
|
?>
|
||||||
<!-- <html lang="en" id="mydoc" onkeyup="saveEdits(event)"> -->
|
|
||||||
<html lang="en" id="mydoc">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
||||||
<title></title>
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet">
|
|
||||||
<style type="text/css">
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
||||||
|
|
||||||
.page_break { page-break-before: always; }
|
|
||||||
#page_break { page-break-before: always; }
|
|
||||||
/*.page { width: 100%; height: 95%; }*/
|
|
||||||
@page {
|
|
||||||
margin: 100px 50px;
|
|
||||||
/*font-family:Helvetica,Arial;*/
|
|
||||||
font-family:Merriweather;
|
|
||||||
}
|
|
||||||
header {
|
|
||||||
position: fixed;
|
|
||||||
top: -70px;
|
|
||||||
left: 0px;
|
|
||||||
right: 0px;
|
|
||||||
height: 20px;
|
|
||||||
|
|
||||||
/** Extra personal styles **/
|
|
||||||
/*background-color: #03a9f4;
|
|
||||||
color: white;*/
|
|
||||||
text-align: right;
|
|
||||||
/*line-height: 35px;*/
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 5px;
|
|
||||||
left: 0px;
|
|
||||||
right: 0px;
|
|
||||||
height: 20px;
|
|
||||||
font-size: 10px;
|
|
||||||
|
|
||||||
/** Extra personal styles **/
|
|
||||||
/*background-color: #03a9f4;
|
|
||||||
color: white;*/
|
|
||||||
text-align: left;
|
|
||||||
/*line-height: 35px;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.non-editable{ background-color:#99ff99; }
|
|
||||||
|
|
||||||
.table2 {
|
|
||||||
border: 1px solid black;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.table2 td {
|
|
||||||
border: 1px solid black;
|
|
||||||
height: 50px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.table2 th {
|
|
||||||
border: 1px solid black;
|
|
||||||
height: 50px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.table2 {
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
tfoot{
|
|
||||||
color:#e00201;
|
|
||||||
}
|
|
||||||
|
|
||||||
.simpletable, .simpletable th, .simpletable td {
|
|
||||||
border: 1px solid black;
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ######### Mini Score Card Table Styles######### */
|
|
||||||
|
|
||||||
.mini_scorecard_table {
|
|
||||||
width: 100%;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mini_scorecard_table td, .mini_scorecard_table th {
|
|
||||||
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mini_scorecard_table th {
|
|
||||||
padding-top: 5px;
|
|
||||||
padding-bottom: 5px;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #0191ed;
|
|
||||||
color: white;page-break-inside: avoid;
|
|
||||||
|
|
||||||
}
|
|
||||||
/* #########End of Mini Score Card Table Styles######### */
|
|
||||||
|
|
||||||
|
|
||||||
/* #########End of Mini Score Card Div Styles######### */
|
|
||||||
#rcorners_green {
|
|
||||||
|
|
||||||
background: #33cc33;
|
|
||||||
padding: 3px;
|
|
||||||
width: 75px;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
#rcorners_red {
|
|
||||||
|
|
||||||
background: red;
|
|
||||||
padding: 3px;
|
|
||||||
width: 75px;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
#rcorners_light_green {
|
|
||||||
|
|
||||||
background: #99ff66;
|
|
||||||
padding: 3px;
|
|
||||||
width: 75px;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
#rcorners_amber{
|
|
||||||
|
|
||||||
background: #ff9900;
|
|
||||||
padding: 3px;
|
|
||||||
width: 75px;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* #########End of Mini Score Card DIv Styles######### */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* #########Score Card Table Styles######### */
|
|
||||||
|
|
||||||
.scorecard_table {
|
|
||||||
/* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
|
|
||||||
/*font-family: Merriweather;*/
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scorecard_table td, .scorecard_table th {
|
|
||||||
border: 1px solid #000;
|
|
||||||
padding: 8px;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.scorecard_table tr:nth-child(even){background-color: #f2f2f2;page-break-inside: avoid; }
|
|
||||||
|
|
||||||
.scorecard_table tr:hover {background-color: #ddd;}
|
|
||||||
|
|
||||||
.scorecard_table th {
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #0191ed;
|
|
||||||
color: white;page-break-inside: avoid;
|
|
||||||
|
|
||||||
}
|
|
||||||
/* #########End of Score Card Table Styles######### */
|
|
||||||
|
|
||||||
|
|
||||||
/* #########Score Card2 Table Styles######### */
|
|
||||||
|
|
||||||
.scorecard_table2 {
|
|
||||||
/* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
|
|
||||||
/*font-family: Merriweather;*/
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.scorecard_table2 td, .scorecard_table2 th {
|
|
||||||
border: 1px solid #000;
|
|
||||||
padding: 8px;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.scorecard_table2 tr:nth-child(even){background-color: #f2f2f2;}
|
|
||||||
|
|
||||||
.scorecard_table2 tr:hover {background-color: #ddd;}
|
|
||||||
|
|
||||||
.scorecard_table2 th {
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #0191ed;
|
|
||||||
color: white;
|
|
||||||
|
|
||||||
}
|
|
||||||
/* #########End of Score Card2 Table Styles######### */
|
|
||||||
|
|
||||||
|
|
||||||
.customth { width: 10%; }
|
|
||||||
|
|
||||||
/* #########billwise Table Styles######### */
|
|
||||||
.customtd { text-align:center; }
|
|
||||||
.customtd_leftalign { text-align:left; }
|
|
||||||
.customtd_rightalign { text-align:right; }
|
|
||||||
|
|
||||||
.billwise_table {
|
|
||||||
/* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
|
|
||||||
/*font-family: Merriweather;*/
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: auto;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.billwise_table td, .billwise_table th {
|
|
||||||
border: 1px solid #000;
|
|
||||||
padding: 4px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.billwise_table tr:nth-child(even){background-color: #f2f2f2;}
|
|
||||||
|
|
||||||
.billwise_table tr:hover {background-color: #ddd;}
|
|
||||||
|
|
||||||
.billwise_table th {
|
|
||||||
padding-top: 4px;
|
|
||||||
padding-bottom: 4px;
|
|
||||||
text-align: center;
|
|
||||||
background-color: #0191ed;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
/* #########billwise Table Styles######### */
|
|
||||||
|
|
||||||
|
|
||||||
/* #########Annexure table ######### */
|
|
||||||
|
|
||||||
.annexure_table {
|
|
||||||
/* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
|
|
||||||
/*font-family: Merriweather;*/
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: auto;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.annexure_table td, .annexure_table th {
|
|
||||||
border: 1px solid #000;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.annexure_table tr:nth-child(even){background-color: #f2f2f2;}
|
|
||||||
|
|
||||||
.annexure_table tr:hover {background-color: #ddd;}
|
|
||||||
|
|
||||||
.annexure_table th {
|
|
||||||
/*padding-top: 4px;*/
|
|
||||||
/*padding-bottom: 4px;*/
|
|
||||||
text-align: center;
|
|
||||||
background-color: #0191ed;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
/* #########Annexure######### */
|
|
||||||
|
|
||||||
|
|
||||||
.customtd { text-align:center; }
|
|
||||||
.customtd_leftalign { text-align:left; }
|
|
||||||
.customtd_rightalign { text-align:right; }
|
|
||||||
|
|
||||||
|
|
||||||
#boxstyle1 {
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 60px;
|
|
||||||
height: 20px;
|
|
||||||
padding: 5px;
|
|
||||||
border: 2px outset black;
|
|
||||||
}
|
|
||||||
#boxstyle2 {
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 200px;
|
|
||||||
height: 20px;
|
|
||||||
padding: 5px;
|
|
||||||
border: 2px outset black;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
#boxstyle3 {
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 120px;
|
|
||||||
height: 20px;
|
|
||||||
padding: 5px;
|
|
||||||
border: 2px outset black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#billwise {
|
|
||||||
box-sizing: content-box;
|
|
||||||
/*disply:inline;*/
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
padding: 10px;
|
|
||||||
border: 1px solid #0191ed;
|
|
||||||
}
|
|
||||||
|
|
||||||
#first_div {
|
|
||||||
width: 150px;
|
|
||||||
height: 25px;
|
|
||||||
border: 2px outset #000;
|
|
||||||
overflow: hidden;
|
|
||||||
text-align: center;
|
|
||||||
border-color:red;
|
|
||||||
color:red;
|
|
||||||
/*padding-left: 20px;*/
|
|
||||||
|
|
||||||
}
|
|
||||||
#tick_div {
|
|
||||||
position: relative;
|
|
||||||
width: 40px;
|
|
||||||
height: 25px;
|
|
||||||
margin-left: 100%;
|
|
||||||
margin-top: -29px;
|
|
||||||
border: 2px outset #000;
|
|
||||||
text-align: center;
|
|
||||||
border-color:red;
|
|
||||||
color:red;
|
|
||||||
}
|
|
||||||
#tick_div_other {
|
|
||||||
position: relative;
|
|
||||||
width: 40px;
|
|
||||||
height: 25px;
|
|
||||||
margin-left: 93%;
|
|
||||||
margin-top: -29px;
|
|
||||||
border: 2px outset #000;
|
|
||||||
text-align: center;
|
|
||||||
border-color:red;
|
|
||||||
color:red;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* #########Person met card css######### */
|
|
||||||
.chip {
|
|
||||||
|
|
||||||
padding: 0 25px;
|
|
||||||
height: 100px;
|
|
||||||
width: 600px;
|
|
||||||
font-size: 14px;
|
|
||||||
|
|
||||||
border-radius: 50px;
|
|
||||||
background-color: #f1f1f1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chip #img1 {
|
|
||||||
float: left;
|
|
||||||
margin: 0 10px 0 -25px;
|
|
||||||
height: 100px;
|
|
||||||
width: 100px;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chip #img2 {
|
|
||||||
float: right;
|
|
||||||
margin: 0 -25px 0px -125px;
|
|
||||||
height: 100px;
|
|
||||||
width: 100px;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* #########Person met card css######### */
|
|
||||||
|
|
||||||
|
|
||||||
/* #########Doc sighted gallary css######### ;*/
|
|
||||||
|
|
||||||
.gallery {
|
|
||||||
margin: 5px;
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery:hover {
|
|
||||||
border: 1px solid #777;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.desc {
|
|
||||||
padding: 8px;
|
|
||||||
text-align: center;
|
|
||||||
color:green
|
|
||||||
}
|
|
||||||
|
|
||||||
/* #########Doc sighted gallary css######### */
|
|
||||||
|
|
||||||
/* ######### TOOLTIP CSS START ######### */
|
|
||||||
|
|
||||||
.tooltip {
|
|
||||||
position: relative;
|
|
||||||
display: inline;
|
|
||||||
border-bottom: 1px dotted black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tooltip .tooltiptext {
|
|
||||||
visibility: hidden;
|
|
||||||
width: 120px;
|
|
||||||
background-color: black;
|
|
||||||
color: #fff;
|
|
||||||
text-align: center;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 5px 0;
|
|
||||||
|
|
||||||
/* Position the tooltip */
|
|
||||||
position: absolute;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tooltip:hover .tooltiptext {
|
|
||||||
visibility: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ######### TOOLTIP CSS END ######### */
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
<!-- <script type="text/javascript">
|
|
||||||
function saveEdits(e)
|
|
||||||
{
|
|
||||||
|
|
||||||
var editElem = document.getElementById("mydoc");
|
|
||||||
var userVersion = editElem.innerHTML;
|
|
||||||
//localStorage.removeItem('userEdits')
|
|
||||||
//save the content to local storage
|
|
||||||
localStorage.userEdits = userVersion;
|
|
||||||
}
|
|
||||||
</script> -->
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body style="font-family:Merriweather;font-size:12px;margin:15px 30px">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -445,10 +11,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
if($show_detailed_scorecard)
|
if($show_detailed_scorecard)
|
||||||
{
|
{
|
||||||
|
|
||||||
echo '<div id="page_break"></div>';
|
echo "<h3>Detailed Score Card</h3>" ;
|
||||||
echo "<h3>Detailed Score Card Section</h3>" ;
|
|
||||||
// *** General Section Questions Score Table
|
// *** General Section Questions Score Table
|
||||||
echo '<table class="scorecard_table2">';
|
echo '<table border="2">';
|
||||||
echo "<tr> <th>General Questions L1(". $pd_score['general']['otp_done']['l1_weightage']."%) </th> <th>L2</th> <th>Answer</th> <th>Score</th> <th>Attributed Score</th> <th>Max Score</th></tr>";
|
echo "<tr> <th>General Questions L1(". $pd_score['general']['otp_done']['l1_weightage']."%) </th> <th>L2</th> <th>Answer</th> <th>Score</th> <th>Attributed Score</th> <th>Max Score</th></tr>";
|
||||||
foreach($pd_score['general'] as $key => $general)
|
foreach($pd_score['general'] as $key => $general)
|
||||||
{
|
{
|
||||||
@ -467,7 +32,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
||||||
|
|
||||||
// *** Asset Caculation Score Table
|
// *** Asset Caculation Score Table
|
||||||
echo '<table class="scorecard_table2">';
|
echo '<table border="2">';
|
||||||
echo "<tr> <th colspan='2'>Asset Value Calculaitons</th></tr>";
|
echo "<tr> <th colspan='2'>Asset Value Calculaitons</th></tr>";
|
||||||
|
|
||||||
echo "<tr> <td>Actual Value Of Assets (a)</td><td>". number_format($pd_score['score_summary']['asset_calculation_details']['actual_value_of_assets'],2,'.',',')."</td></tr>";
|
echo "<tr> <td>Actual Value Of Assets (a)</td><td>". number_format($pd_score['score_summary']['asset_calculation_details']['actual_value_of_assets'],2,'.',',')."</td></tr>";
|
||||||
@ -490,7 +55,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
||||||
echo '<br><br><br>';
|
echo '<br><br><br>';
|
||||||
// *** Final Remarks Questions Score Table
|
// *** Final Remarks Questions Score Table
|
||||||
echo '<table class="scorecard_table2">';
|
echo '<table border="2">';
|
||||||
echo "<tr> <th>Final Remarks Questions L1(". $pd_score['final_remarks']['pd_officer_recommandations']['l1_weightage']."%)</th> <th>L2</th><th>Answer</th> <th>Score</th><th>Attributed Score</th> <th>Max Score</th></tr>";
|
echo "<tr> <th>Final Remarks Questions L1(". $pd_score['final_remarks']['pd_officer_recommandations']['l1_weightage']."%)</th> <th>L2</th><th>Answer</th> <th>Score</th><th>Attributed Score</th> <th>Max Score</th></tr>";
|
||||||
foreach($pd_score['final_remarks'] as $key => $final_remark)
|
foreach($pd_score['final_remarks'] as $key => $final_remark)
|
||||||
{
|
{
|
||||||
@ -508,7 +73,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
echo '<br><br><br>';
|
echo '<br><br><br>';
|
||||||
|
|
||||||
//print_r($pd_score['business']);
|
//print_r($pd_score['business']);
|
||||||
echo '<table class="scorecard_table2">';
|
echo '<table border="2">';
|
||||||
|
|
||||||
// *** Business Section Questions Score Table
|
// *** Business Section Questions Score Table
|
||||||
echo "<tr> <th>Business Questions L1(". $pd_score['business']['no_of_years_business_run']['l1_weightage']."%)</th> <th>L2</th><th>Answer</th> <th>Score</th> <th>Attributed Score</th><th>Max Score</th></tr>";
|
echo "<tr> <th>Business Questions L1(". $pd_score['business']['no_of_years_business_run']['l1_weightage']."%)</th> <th>L2</th><th>Answer</th> <th>Score</th> <th>Attributed Score</th><th>Max Score</th></tr>";
|
||||||
@ -548,7 +113,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
||||||
echo '<br><br>';
|
echo '<br><br>';
|
||||||
|
|
||||||
echo "<table class='scorecard_table2'>";
|
echo "<table border="2">";
|
||||||
echo "<tr> <th>Business Certificates</th> <th>Answer</th> <th>Score</th> <th>Attributed Score</th> <th>Max Score</th></tr>";
|
echo "<tr> <th>Business Certificates</th> <th>Answer</th> <th>Score</th> <th>Attributed Score</th> <th>Max Score</th></tr>";
|
||||||
$index = 0;
|
$index = 0;
|
||||||
// print_r($certificates);
|
// print_r($certificates);
|
||||||
@ -570,7 +135,5 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
// ########################### End Of Score Card Section #########################################
|
// ########################### End Of Score Card Section #########################################
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user