ASSET TABLE SUPPLIER TABLE SATELLITE AND TRACKER
This commit is contained in:
parent
76c2b830b8
commit
85138fc0e9
@ -5765,6 +5765,7 @@ public function getPDFormDetailsJSON_post()
|
||||
{
|
||||
|
||||
//echo $this->assignPDTempalate(1325);die();
|
||||
//$this->getSatelliteImage(1332);die();
|
||||
$records = $this->post('records');
|
||||
$pdid = $records['pd_id'];
|
||||
//$external_path = $this->config->item('external_data_path');
|
||||
|
||||
@ -138,111 +138,131 @@ public static function getOthersAssetsDetails($values){
|
||||
// business asset details
|
||||
public static function getBusinessAssetsDetails($business_assets){
|
||||
|
||||
//print_r($business_assets);
|
||||
$header_row = '<tr><th>Particulars</th>';
|
||||
$first_row = '<tr><td>Asset Type</td>';
|
||||
$sec_row = '<tr><td>Asset Description</td>';
|
||||
$third_row = '<tr><td>Ownership</td>';
|
||||
$fourth_row = '<tr><td>Owned by</td>';
|
||||
$fifth_row = '<tr><td>Market Value</td>';
|
||||
$sixth_row = '<tr><td>Monthly Rent</td>';
|
||||
$seventh_row = '<tr><td>Age of Asset(Yrs)</td>';
|
||||
$eighth_row = '<tr><td>Loan (Y/N)</td>';
|
||||
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
|
||||
$rental_flag = 0;
|
||||
$owned_flag = 0;
|
||||
$show_table = 1;
|
||||
$overall_empty_flag = 0;
|
||||
$is_rented = false;
|
||||
$is_owned = false;
|
||||
$total_tables = count($business_assets) / 7;
|
||||
$total_tables = ceil($total_tables);
|
||||
$overall_data = array();
|
||||
//$i = 10;
|
||||
// $header_row_.$i = '<tr><th>Particulars</th>';
|
||||
// echo $header_row_.$i;
|
||||
for($i = 1;$i <= $total_tables; $i++)
|
||||
{
|
||||
|
||||
$header_row = '<tr><th>Particulars</th>';
|
||||
$first_row = '<tr><td>Asset Type</td>';
|
||||
$sec_row = '<tr><td>Asset Description</td>';
|
||||
$third_row = '<tr><td>Ownership</td>';
|
||||
$fourth_row = '<tr><td>Owned by</td>';
|
||||
$fifth_row = '<tr><td>Market Value</td>';
|
||||
$sixth_row = '<tr><td>Monthly Rent</td>';
|
||||
$seventh_row = '<tr><td>Age of Asset(Yrs)</td>';
|
||||
$eighth_row = '<tr><td>Loan (Y/N)</td>';
|
||||
$rupee_symbol = "<span style='font-family: DejaVu Sans; sans-serif;font-size:10px'>₹</span>";
|
||||
$rental_flag = 0;
|
||||
$owned_flag = 0;
|
||||
$show_table = 1;
|
||||
$overall_empty_flag = 0;
|
||||
$is_rented = false;
|
||||
$is_owned = false;
|
||||
|
||||
foreach($business_assets as $bsk => $fetchVal){
|
||||
|
||||
|
||||
|
||||
$owners_list = null;
|
||||
if($fetchVal['business_assets_mode'] == "" || $fetchVal['business_assets_mode'] == null)
|
||||
{
|
||||
if(count($business_assets) == 1){ $show_table = 0;}
|
||||
}
|
||||
|
||||
if(isset($fetchVal['business_name_of_the_owner']) && (is_array($fetchVal['business_name_of_the_owner'])) && count($fetchVal['business_name_of_the_owner']))
|
||||
{
|
||||
foreach($fetchVal['business_name_of_the_owner'] as $owner)
|
||||
{
|
||||
$owners_list.= ($owner['id'] != 0 ? $owner['name'].', ' : $fetchVal['business_name_of_the_other_owner'].', ');
|
||||
}
|
||||
}
|
||||
//print_r($owners_list);
|
||||
$owners_list = substr_replace($owners_list, '', strrpos($owners_list, ','),1);
|
||||
|
||||
$owners_list = $owners_list != "" || $owners_list != null ? $owners_list : 'NA';
|
||||
$ownership_type = $fetchVal['business_ownership_type'];
|
||||
|
||||
if(!strcasecmp($fetchVal['business_ownership_type'],'owned'))
|
||||
{
|
||||
$is_owned = true;
|
||||
//$owned_flag++;
|
||||
}else if(!strcasecmp($fetchVal['business_ownership_type'],'rented'))
|
||||
{
|
||||
$is_rented = true;
|
||||
///$rental_flag++;
|
||||
}
|
||||
|
||||
if($fetchVal['business_assets_mode']==4){
|
||||
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.($fetchVal['business_details'][0]['equipment_manufacturing_description']).'';
|
||||
$sec_row .= $fetchVal['business_purchase_year'] != '' || $fetchVal['business_purchase_year'] != null ? ' purchased in '.$fetchVal['business_purchase_year'] .'</td>' : '</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
|
||||
}
|
||||
// this is for vehicle
|
||||
else if($fetchVal['business_assets_mode']==3){
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.($fetchVal['business_details'][0]['manufacturer_model_vehicle']).'';
|
||||
|
||||
$sec_row .= $fetchVal['business_purchase_year'] != '' || $fetchVal['business_purchase_year'] != null ? ' purchased in '.$fetchVal['business_purchase_year'].'</td>' : '</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
}
|
||||
|
||||
// this property
|
||||
else if($fetchVal['business_assets_mode']==2){
|
||||
// switch(strtoupper($fetchVal['business_ownership_type'])) {
|
||||
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].' at '. $fetchVal['business_details'][0]['address_of_the_property'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.($fetchVal['business_details'][0]['property_type']==1 ? $fetchVal['business_details'][0]['other_property_type']:$fetchVal['business_details'][0]['property_type_master']).'</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
}
|
||||
//this is for other
|
||||
else if($fetchVal['business_assets_mode']==1){
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.$fetchVal['business_details'][0]['any_other_assets'].'</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
}
|
||||
|
||||
unset($business_assets[$bsk]);
|
||||
|
||||
if($bsk == 6)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
foreach($business_assets as $bsk => $fetchVal){
|
||||
|
||||
$owners_list = null;
|
||||
if($fetchVal['business_assets_mode'] == "" || $fetchVal['business_assets_mode'] == null)
|
||||
{
|
||||
if(count($business_assets) == 1){ $show_table = 0;}
|
||||
}
|
||||
|
||||
if(isset($fetchVal['business_name_of_the_owner']) && (is_array($fetchVal['business_name_of_the_owner'])) && count($fetchVal['business_name_of_the_owner']))
|
||||
{
|
||||
foreach($fetchVal['business_name_of_the_owner'] as $owner)
|
||||
{
|
||||
$owners_list.= ($owner['id'] != 0 ? $owner['name'].', ' : $fetchVal['business_name_of_the_other_owner'].', ');
|
||||
}
|
||||
}
|
||||
//print_r($owners_list);
|
||||
$owners_list = substr_replace($owners_list, '', strrpos($owners_list, ','),1);
|
||||
|
||||
$owners_list = $owners_list != "" || $owners_list != null ? $owners_list : 'NA';
|
||||
$ownership_type = $fetchVal['business_ownership_type'];
|
||||
|
||||
if(!strcasecmp($fetchVal['business_ownership_type'],'owned'))
|
||||
{
|
||||
$is_owned = true;
|
||||
//$owned_flag++;
|
||||
}else if(!strcasecmp($fetchVal['business_ownership_type'],'rented'))
|
||||
{
|
||||
$is_rented = true;
|
||||
///$rental_flag++;
|
||||
}
|
||||
|
||||
if($fetchVal['business_assets_mode']==4){
|
||||
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.($fetchVal['business_details'][0]['equipment_manufacturing_description']).'';
|
||||
$sec_row .= $fetchVal['business_purchase_year'] != '' || $fetchVal['business_purchase_year'] != null ? ' purchased in '.$fetchVal['business_purchase_year'] .'</td>' : '</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
|
||||
}
|
||||
// this is for vehicle
|
||||
else if($fetchVal['business_assets_mode']==3){
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.($fetchVal['business_details'][0]['manufacturer_model_vehicle']).'';
|
||||
|
||||
$sec_row .= $fetchVal['business_purchase_year'] != '' || $fetchVal['business_purchase_year'] != null ? ' purchased in '.$fetchVal['business_purchase_year'].'</td>' : '</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
}
|
||||
|
||||
// this property
|
||||
else if($fetchVal['business_assets_mode']==2){
|
||||
// switch(strtoupper($fetchVal['business_ownership_type'])) {
|
||||
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].' at '. $fetchVal['business_details'][0]['address_of_the_property'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.($fetchVal['business_details'][0]['property_type']==1 ? $fetchVal['business_details'][0]['other_property_type']:$fetchVal['business_details'][0]['property_type_master']).'</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
}
|
||||
//this is for other
|
||||
else if($fetchVal['business_assets_mode']==1){
|
||||
$header_row .= '<th>Asset '.($bsk+1).'</th>';
|
||||
$first_row .= '<td class="customtd">'.$fetchVal['business_assets_mode_master'].'</td>';
|
||||
$sec_row .= '<td class="customtd">'.$fetchVal['business_details'][0]['any_other_assets'].'</td>';
|
||||
$third_row .= '<td class="customtd">'. ucfirst($ownership_type) .'</td>';
|
||||
$fourth_row .= '<td class="customtd">'.$owners_list.'</td>';
|
||||
$fifth_row .= '<td class="customtd">'.($fetchVal['business_approximate_market_value'] != "" && $fetchVal['business_approximate_market_value'] != null ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_approximate_market_value']) : 'NA').'</td>';
|
||||
$sixth_row .= '<td class="customtd">'.(($fetchVal['business_monthly_rented_amt'] != "") ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($fetchVal['business_monthly_rented_amt']) : 'NA').'</td>';
|
||||
$seventh_row .= '<td class="customtd">'.($fetchVal['business_vintage'] != "" ? $fetchVal['business_vintage'] : 'NA').'</td>';
|
||||
$eighth_row .= '<td class="customtd">'.($fetchVal['business_emi'] != "" ? ucfirst($fetchVal['business_emi']) : 'NA').'</td>';
|
||||
}
|
||||
}
|
||||
|
||||
$header_row .= '</tr>';
|
||||
$first_row .= '</tr>';
|
||||
@ -259,7 +279,11 @@ public static function getOthersAssetsDetails($values){
|
||||
$eighth_row .= '</tr>';
|
||||
$eighth_row = $is_owned ? $eighth_row : '';
|
||||
|
||||
return array('header_row' => $header_row, 'first_row' => $first_row,'sec_row'=> $sec_row,'third_row' =>$third_row,'fourth_row'=>$fourth_row,'fifth_row'=>$fifth_row,'sixth_row'=>$sixth_row,'seventh_row'=>$seventh_row,'eighth_row'=>$eighth_row,'show_table'=> $show_table);
|
||||
$overall_data[] = array('header_row' => $header_row, 'first_row' => $first_row,'sec_row'=> $sec_row,'third_row' =>$third_row,'fourth_row'=>$fourth_row,'fifth_row'=>$fifth_row,'sixth_row'=>$sixth_row,'seventh_row'=>$seventh_row,'eighth_row'=>$eighth_row,'show_table'=> $show_table);
|
||||
}
|
||||
|
||||
return ($overall_data);
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
@ -170,12 +170,12 @@ class PDALERTS
|
||||
// self::sendMail($CI,$lender_email,$msg,$core_details); // currently Mail disabled
|
||||
}
|
||||
|
||||
if(ENVIRONMENT == 'production')
|
||||
{
|
||||
// if(ENVIRONMENT == 'production')
|
||||
// {
|
||||
if($lender_sales_person_email != null){ self::sendMail($CI,$lender_sales_person_email,$msg,$core_details); }
|
||||
if($lender_credit_person_email != null){ self::sendMail($CI,$lender_credit_person_email,$msg,$core_details); }
|
||||
if($financial_institude_email != null){ self::sendMail($CI,$financial_institude_email,$msg,$core_details); }
|
||||
}
|
||||
//}
|
||||
self::sendMail($CI,'komalmittal@sinemanagement.com',$msg,$core_details);
|
||||
self::sendMail($CI,'sinepd@sinemanagement.com',$msg,$core_details);
|
||||
|
||||
|
||||
@ -506,6 +506,7 @@ class PD_Model extends SPARQ_Model {
|
||||
//$sql = 'SELECT * FROM '.COMMONMASTER.' WHERE table_name = "'.PDTRIGGER.'" AND primary_key = '.$pdid;
|
||||
//$logs = $this->db->query($sql)->result_array();
|
||||
$actual_logs = array();
|
||||
$revert_remark_iteration = 0;
|
||||
if(count($logs))
|
||||
{
|
||||
foreach($logs as $log_key => $log)
|
||||
@ -726,6 +727,7 @@ class PD_Model extends SPARQ_Model {
|
||||
break;
|
||||
case 'pd_status':
|
||||
|
||||
$data_from_remarks = $this->selectCustomRecords(array('remark'),array('fk_pd_id' => $pdid,'is_revert_remark' => 1),PDREMARKS);
|
||||
$log_string = $arrayForText[$log['field_name']].' Changed From "'.$log['old_value'].'" to "'.$log['new_value'].'"';
|
||||
$user = $log['createdby'];
|
||||
$time = $log['createdon'];
|
||||
@ -763,6 +765,11 @@ class PD_Model extends SPARQ_Model {
|
||||
$actual_logs[$log_key]['meta_data'][] = array('display_name'=>'Rejected Reason Others','display_value'=> $pd_master_detials[0]['bounce_reason_others']);
|
||||
}
|
||||
}
|
||||
else if($log['new_value'] == COMPLETED && $log['old_value'] == QC_COMPLETED)
|
||||
{
|
||||
$actual_logs[$log_key]['meta_data'][] = array('display_name'=>'Remark of status change','display_value'=> $data_from_remarks[ $revert_remark_iteration ]['remark']);
|
||||
$revert_remark_iteration++;
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
|
||||
@ -427,6 +427,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
word-wrap:break-word
|
||||
width:50%;
|
||||
}
|
||||
|
||||
.intelligence{
|
||||
/*background-color: lightgrey;*/
|
||||
width: auto;
|
||||
border: 5px solid #0191ed;
|
||||
padding: 5px;
|
||||
/*margin: 10px;*/
|
||||
}
|
||||
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
|
||||
@ -1949,22 +1957,25 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if(isset($iterateAsset['details']) && count($iterateAsset['details']))
|
||||
{
|
||||
echo $iterateAsset['company_name']; ?></p>
|
||||
<table class="scorecard_table">
|
||||
<?php
|
||||
|
||||
echo $iterateAsset['details']['header_row']; ?>
|
||||
<?php
|
||||
foreach ($iterateAsset['details'] as $key => $value) {
|
||||
echo '<table class="scorecard_table">';
|
||||
echo '<body>';
|
||||
echo $value['header_row']; ?>
|
||||
<tbody>
|
||||
<?php
|
||||
echo $iterateAsset['details']['first_row'];
|
||||
echo $iterateAsset['details']['sec_row'];
|
||||
echo $iterateAsset['details']['third_row'];
|
||||
echo $iterateAsset['details']['fourth_row'];
|
||||
echo $iterateAsset['details']['fifth_row'];
|
||||
echo $iterateAsset['details']['sixth_row'];
|
||||
//echo $iterateAsset['details']['seventh_row'];
|
||||
//echo $iterateAsset['details']['eighth_row'];
|
||||
echo $value['first_row'];
|
||||
echo $value['sec_row'];
|
||||
echo $value['third_row'];
|
||||
echo $value['fourth_row'];
|
||||
echo $value['fifth_row'];
|
||||
echo $value['sixth_row'];
|
||||
echo $value['seventh_row'];
|
||||
echo $value['eighth_row'];
|
||||
echo '</tbody>';
|
||||
echo '</table>';
|
||||
echo '<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2351,7 +2362,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<?php if($getEachValues['is_od_cc']){?>
|
||||
<th>OD/CC Limit(Rs)</th>
|
||||
<?php }?>
|
||||
<th>Main Business AC</th>
|
||||
<th>Main Business A/c</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -4105,14 +4116,18 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
?>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
<?php
|
||||
if(isset($final_remark_data['market_intelligence']) && $final_remark_data['market_intelligence'] != '')
|
||||
{
|
||||
echo '<li>Personal feedback or market intelligence on the case (if any):</li>';
|
||||
echo '<br>'.$final_remark_data['market_intelligence'];
|
||||
echo '<div class="intelligence">';
|
||||
echo '<b>Personal feedback or market intelligence on the case (if any):</b>';
|
||||
echo '<br><br><b>'.$final_remark_data['market_intelligence'].'</b>';
|
||||
echo '</div>';
|
||||
echo '<br>';
|
||||
}
|
||||
?>
|
||||
<ul>
|
||||
<li>Customer Behaviour: </li>
|
||||
|
||||
<br><br>
|
||||
|
||||
@ -459,6 +459,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
word-wrap:break-word
|
||||
width:50%;
|
||||
}
|
||||
|
||||
.intelligence{
|
||||
/*background-color: lightgrey;*/
|
||||
width: auto;
|
||||
border: 5px solid #0191ed;
|
||||
padding: 5px;
|
||||
/*margin: 10px;*/
|
||||
}
|
||||
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
|
||||
@ -1976,7 +1984,7 @@ if($total_no_of_business > 0) {
|
||||
array_push($businessAssetResult,$bindBusinessAsset);
|
||||
|
||||
|
||||
// print_r($businessAssetResult);
|
||||
//print_r($businessAssetResult);die();
|
||||
?>
|
||||
|
||||
|
||||
@ -1986,27 +1994,31 @@ if($total_no_of_business > 0) {
|
||||
<br>
|
||||
<h3 contenteditable="true">Assets used in Business</h3>
|
||||
<?php if( $is_business_asset_available ){
|
||||
foreach($businessAssetResult as $iterateAsset){ ?>
|
||||
foreach($businessAssetResult as $ba_key => $iterateAsset){ ?>
|
||||
<?php
|
||||
if(isset($iterateAsset['details']) && count($iterateAsset['details']))
|
||||
{
|
||||
echo $iterateAsset['company_name']; ?></p>
|
||||
<table class="scorecard_table">
|
||||
|
||||
<?php
|
||||
|
||||
echo $iterateAsset['details']['header_row']; ?>
|
||||
foreach ($iterateAsset['details'] as $key => $value) {
|
||||
echo '<table class="scorecard_table">';
|
||||
echo '<body>';
|
||||
echo $value['header_row']; ?>
|
||||
<tbody>
|
||||
<?php
|
||||
echo $iterateAsset['details']['first_row'];
|
||||
echo $iterateAsset['details']['sec_row'];
|
||||
echo $iterateAsset['details']['third_row'];
|
||||
echo $iterateAsset['details']['fourth_row'];
|
||||
echo $iterateAsset['details']['fifth_row'];
|
||||
echo $iterateAsset['details']['sixth_row'];
|
||||
echo $iterateAsset['details']['seventh_row'];
|
||||
echo $iterateAsset['details']['eighth_row'];
|
||||
echo $value['first_row'];
|
||||
echo $value['sec_row'];
|
||||
echo $value['third_row'];
|
||||
echo $value['fourth_row'];
|
||||
echo $value['fifth_row'];
|
||||
echo $value['sixth_row'];
|
||||
echo $value['seventh_row'];
|
||||
echo $value['eighth_row'];
|
||||
echo '</tbody>';
|
||||
echo '</table>';
|
||||
echo '<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2393,7 +2405,7 @@ if($total_no_of_business > 0) {
|
||||
<?php if($getEachValues['is_od_cc']){?>
|
||||
<th>OD/CC Limit(Rs)</th>
|
||||
<?php }?>
|
||||
<th>Main Business AC</th>
|
||||
<th>Main Business A/c</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -2720,6 +2732,16 @@ if($total_no_of_business > 0) {
|
||||
$supplierResult=array();
|
||||
$supplier_form_remarks = '';
|
||||
$is_supplier_details_avaialable = null;
|
||||
|
||||
|
||||
$supplier_first_row = '<tr><td class="customtd">1</td><td class="customtd">Item Purchased </td>';
|
||||
$supplier_second_row = '<tr><td class="customtd">2</td><td class="customtd">Contact Person </td>';
|
||||
$supplier_third_row = '<tr><td class="customtd">3</td><td class="customtd">Mobile Number </td>';
|
||||
$supplier_fourth_row = '<tr><td class="customtd">4</td><td class="customtd">Landline No</td>';
|
||||
$supplier_fifth_row = '<tr><td class="customtd">5</td><td class="customtd">Payment Terms</td>';
|
||||
$supplier_sixth_row = '<tr><td class="customtd">6</td><td class="customtd">Payment Mode</td>';
|
||||
$supplier_seventh_row = '<tr><td class="customtd">7</td><td class="customtd">No of Days Credit</td>';
|
||||
|
||||
if(isset($pd_processed_forms[1][$business_count]))
|
||||
{
|
||||
|
||||
@ -2749,10 +2771,8 @@ if($total_no_of_business > 0) {
|
||||
{
|
||||
$total_no_of_suppliers++;
|
||||
}
|
||||
$temp['supplier_first_row'] = '<tr><td class="customtd">1</td><td class="customtd_leftalign">Item Purchased </td>'.'<td class="customtd">'.$raw['manufacturing_raw_material_name'].'</td></tr>';
|
||||
|
||||
$supplier_second_row = '<tr><td class="customtd">2</td><td class="customtd_leftalign">Contact Person </td>';
|
||||
|
||||
$supplier_first_row .= '<td class="customtd">'.$raw['manufacturing_raw_material_name'].'</td>';
|
||||
|
||||
$supplier_second_row .= isset($raw['person_title_name_master']) ? '<td class="customtd">' . $raw['person_title_name_master'].' ': '<td class="customtd">' . '';
|
||||
$supplier_second_row .= $raw['manufacturing_contact_person_name'] ;
|
||||
|
||||
@ -2762,28 +2782,22 @@ if($total_no_of_business > 0) {
|
||||
|
||||
$supplier_second_row .= ' '.$raw['manufacturing_supplier_name'].'</td>';
|
||||
|
||||
$name_for_photo = $raw['manufacturing_supplier_name'].' - Raw Material '.($rawkey + 1);
|
||||
$temp['supplier_name_for_photo'] = $name_for_photo;
|
||||
$temp['supplier_second_row'] = $supplier_second_row.'</tr>';
|
||||
$supplier_third_row .= '<td class="customtd">'. ($raw['manufacturing_contact_person_mobile_number'] ? $raw['manufacturing_contact_person_mobile_number'].'</td>' : 'Not Provided' .'</td>');
|
||||
|
||||
$temp['supplier_third_row'] = '<tr><td class="customtd">3</td><td class="customtd_leftalign">Mobile Number </td>'.'<td class="customtd">'. ($raw['manufacturing_contact_person_mobile_number'] ? $raw['manufacturing_contact_person_mobile_number'].'</td></tr>' : 'Not Provided' .'</td></tr>');
|
||||
$supplier_fourth_row .= '<td class="customtd_leftalign">Landline No</td>';
|
||||
|
||||
$temp['supplier_fourth_row'] = '<tr><td class="customtd">4</td><td class="customtd_leftalign">Landline No</td>';
|
||||
$supplier_fourth_row .= $raw['person_stdcode'] && $raw['person_landline'] ? '<td class="customtd">'. $raw['person_stdcode'].' '.$raw['person_landline'].'</td></tr>' : '<td class="customtd">'.'Not Provided'.'</td>';
|
||||
|
||||
$temp['supplier_fourth_row'] .= $raw['person_stdcode'] && $raw['person_landline'] ? '<td class="customtd">'. $raw['person_stdcode'].' '.$raw['person_landline'].'</td></tr>' : '<td class="customtd">'.'Not Provided'.'</td></tr>';
|
||||
|
||||
$temp['supplier_fifth_row'] = '<tr><td class="customtd">5</td><td class="customtd_leftalign">Payment Terms</td>';
|
||||
$supplier_fifth_row .= '<td class="customtd_leftalign">Payment Terms</td>';
|
||||
|
||||
$temp['supplier_fifth_row'] .= $raw['manufacturing_payment_type_master'] ? '<td class="customtd">'. $raw['manufacturing_payment_type_master'] .'</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
$supplier_fifth_row .= $raw['manufacturing_payment_type_master'] ? '<td class="customtd">'. $raw['manufacturing_payment_type_master'] .'</td>' : '<td class="customtd">NA</td>';
|
||||
|
||||
$temp['supplier_sixth_row'] = '<tr><td class="customtd">6</td><td class="customtd_leftalign">Payment Mode</td>';
|
||||
|
||||
$temp['supplier_sixth_row'] .= $raw['manufacturing_payment_mode'] ? '<td class="customtd">'. $raw['manufacturing_payment_mode'] .'</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
|
||||
$temp['supplier_seventh_row'] = '<tr><td class="customtd">7</td><td class="customtd_leftalign">No of Days Credit</td>';
|
||||
|
||||
$temp['supplier_seventh_row'] .= $raw['manufacturing_credit_days_from'] && $raw['manufacturing_credit_days_to'] ? '<td class="customtd">'. $raw['manufacturing_credit_days_from'].' to '. $raw['manufacturing_credit_days_to'].' days</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
array_push($supplierResult,$temp);
|
||||
$supplier_sixth_row .= $raw['manufacturing_payment_mode'] ? '<td class="customtd">'. $raw['manufacturing_payment_mode'] .'</td>' : '<td class="customtd">NA</td>';
|
||||
|
||||
$supplier_seventh_row .= $raw['manufacturing_credit_days_from'] && $raw['manufacturing_credit_days_to'] ? '<td class="customtd">'. $raw['manufacturing_credit_days_from'].' to '. $raw['manufacturing_credit_days_to'].' days</td>' : '<td class="customtd">NA</td>';
|
||||
//array_push($supplierResult,$temp);
|
||||
|
||||
}
|
||||
}
|
||||
@ -2805,10 +2819,7 @@ if($total_no_of_business > 0) {
|
||||
|
||||
|
||||
|
||||
$temp['supplier_first_row'] = '<tr><td class="customtd">1</td><td class="customtd_leftalign">Item Purchased </td>'.'<td class="customtd">'.$tradeRow['trade_product_name'].'</td></tr>';
|
||||
|
||||
$supplier_second_row = '<tr><td class="customtd">2</td><td class="customtd_leftalign">Contact Person </td>';
|
||||
|
||||
$supplier_first_row .= '<td class="customtd">'.$tradeRow['trade_product_name'].'</td>';
|
||||
$supplier_second_row .= isset($tradeRow['person_title_name_master']) ? '<td class="customtd">' . $tradeRow['person_title_name_master'].' ': '<td class="customtd">' . '';
|
||||
$supplier_second_row .= $tradeRow['trade_product_contact_person_name'] ;
|
||||
|
||||
@ -2817,26 +2828,21 @@ if($total_no_of_business > 0) {
|
||||
$supplier_second_row .= isset($tradeRow['person_designation_master']) && $tradeRow['person_designation'] != 1? $tradeRow['person_designation_master'] : '' ;
|
||||
|
||||
$supplier_second_row .= ' '.$tradeRow['trade_supplier_name'].'</td>';
|
||||
$temp['supplier_second_row'] = $supplier_second_row.'</tr>';
|
||||
$supplier_second_row .= $supplier_second_row;
|
||||
|
||||
$temp['supplier_third_row'] = '<tr><td class="customtd">3</td><td class="customtd_leftalign">Mobile Number </td>'.'<td class="customtd">'. ($tradeRow['trade_product_contact_person_mobile_number'] ? $tradeRow['trade_product_contact_person_mobile_number'].'</td></tr>' : 'Not Provided' .'</td></tr>');
|
||||
$supplier_third_row .= '<td class="customtd">'. ($tradeRow['trade_product_contact_person_mobile_number'] ? $tradeRow['trade_product_contact_person_mobile_number'].'</td>' : 'Not Provided' .'</td>');
|
||||
|
||||
$temp['supplier_fourth_row'] = '<tr><td class="customtd">4</td><td class="customtd_leftalign">Landline No</td>';
|
||||
$supplier_fourth_row .= '<td class="customtd_leftalign">Landline No</td>';
|
||||
|
||||
$temp['supplier_fourth_row'] .= $tradeRow['person_stdcode'] && $tradeRow['person_landline'] ? '<td class="customtd">'. $tradeRow['person_stdcode'].' '.$tradeRow['person_landline'].'</td></tr>' : '<td class="customtd">'.'Not Provided'.'</td></tr>';
|
||||
$supplier_fourth_row .= $tradeRow['person_stdcode'] && $tradeRow['person_landline'] ? '<td class="customtd">'. $tradeRow['person_stdcode'].' '.$tradeRow['person_landline'].'</td>' : '<td class="customtd">'.'Not Provided'.'</td>';
|
||||
|
||||
$temp['supplier_fifth_row'] = '<tr><td class="customtd">5</td><td class="customtd_leftalign">Payment Terms</td>';
|
||||
|
||||
$temp['supplier_fifth_row'] .= isset($tradeRow['trade_product_payment_type_master']) ? '<td class="customtd">'. $tradeRow['trade_product_payment_type_master'] .'</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
|
||||
$supplier_fifth_row .= isset($tradeRow['trade_product_payment_type_master']) ? '<td class="customtd">'. $tradeRow['trade_product_payment_type_master'] .'</td>' : '<td class="customtd">NA</td>';
|
||||
|
||||
$temp['supplier_sixth_row'] = '<tr><td class="customtd">6</td><td class="customtd_leftalign">Payment Mode</td>';
|
||||
$supplier_sixth_row .= $tradeRow['trade_product_payment_mode'] ? '<td class="customtd">'. $tradeRow['trade_product_payment_mode'] .'</td>' : '<td class="customtd">NA</td>';
|
||||
|
||||
$temp['supplier_sixth_row'] .= $tradeRow['trade_product_payment_mode'] ? '<td class="customtd">'. $tradeRow['trade_product_payment_mode'] .'</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
|
||||
$temp['supplier_seventh_row'] = '<tr><td class="customtd">7</td><td class="customtd_leftalign">No of Days Credit</td>';
|
||||
|
||||
$temp['supplier_seventh_row'] .= $tradeRow['trade_product_credit_days_from'] && $tradeRow['trade_product_credit_days_to'] ? '<td class="customtd">'. $tradeRow['trade_product_credit_days_from'].' to '. $tradeRow['trade_product_credit_days_to'].' days</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
array_push($supplierResult,$temp);
|
||||
$supplier_seventh_row .= $tradeRow['trade_product_credit_days_from'] && $tradeRow['trade_product_credit_days_to'] ? '<td class="customtd">'. $tradeRow['trade_product_credit_days_from'].' to '. $tradeRow['trade_product_credit_days_to'].' days</td>' : '<td class="customtd">NA</td>';
|
||||
///array_push($supplierResult,$temp);
|
||||
|
||||
//}
|
||||
//}
|
||||
@ -2858,10 +2864,9 @@ if($total_no_of_business > 0) {
|
||||
$total_no_of_suppliers++;
|
||||
}
|
||||
|
||||
$temp['supplier_first_row'] = '<tr><td class="customtd">1</td><td class="customtd_leftalign">Item Purchased </td>'.'<td class="customtd">'.$serviceRow['service_provider_name'].'</td></tr>';
|
||||
$supplier_first_row .= '<td class="customtd">'.$serviceRow['service_provider_name'].'</td>';
|
||||
|
||||
$supplier_second_row = '<tr><td class="customtd">2</td><td class="customtd_leftalign">Contact Person </td>';
|
||||
|
||||
|
||||
$supplier_second_row .= isset($serviceRow['person_title_name_master']) ? '<td class="customtd">' . $serviceRow['person_title_name_master'].' ': '<td class="customtd">' . '';
|
||||
$supplier_second_row .= $serviceRow['service_provider_contact_person_name'] ;
|
||||
|
||||
@ -2870,34 +2875,36 @@ if($total_no_of_business > 0) {
|
||||
$supplier_second_row .= isset($serviceRow['person_designation_master']) && $serviceRow['person_designation'] != 1? $serviceRow['person_designation_master'] : '' ;
|
||||
|
||||
$supplier_second_row .= ' '.$serviceRow['service_provider_supplier_name'].'</td>';
|
||||
$temp['supplier_second_row'] = $supplier_second_row.'</tr>';
|
||||
//$supplier_second_row .= $supplier_second_row;
|
||||
|
||||
$temp['supplier_third_row'] = '<tr><td class="customtd">3</td><td class="customtd_leftalign">Mobile Number </td>'.'<td class="customtd">'. ($serviceRow['service_provider_contact_person_mobile_number'] ? $serviceRow['service_provider_contact_person_mobile_number'].'</td></tr>' : 'Not Provided' .'</td></tr>');
|
||||
$supplier_third_row .= '<td class="customtd">'. ($serviceRow['service_provider_contact_person_mobile_number'] ? $serviceRow['service_provider_contact_person_mobile_number'].'</td>' : 'Not Provided' .'</td>');
|
||||
|
||||
$temp['supplier_fourth_row'] = '<tr><td class="customtd">4</td><td class="customtd_leftalign">Landline No</td>';
|
||||
$supplier_fourth_row .= $serviceRow['person_stdcode'] && $serviceRow['person_landline'] ? '<td class="customtd">'. $serviceRow['person_stdcode'].' '.$serviceRow['person_landline'].'</td>' : '<td class="customtd">'.'Not Provided'.'</td>';
|
||||
|
||||
$supplier_fifth_row .= isset($serviceRow['service_provider_payment_type_master']) ? '<td class="customtd">'. $serviceRow['service_provider_payment_type_master'] .'</td>' : '<td class="customtd">NA</td>';
|
||||
|
||||
$temp['supplier_fourth_row'] .= $serviceRow['person_stdcode'] && $serviceRow['person_landline'] ? '<td class="customtd">'. $serviceRow['person_stdcode'].' '.$serviceRow['person_landline'].'</td></tr>' : '<td class="customtd">'.'Not Provided'.'</td></tr>';
|
||||
$supplier_sixth_row .= $serviceRow['service_provider_payment_mode'] ? '<td class="customtd">'. $serviceRow['service_provider_payment_mode'] .'</td>' : '<td class="customtd">NA</td>';
|
||||
|
||||
$temp['supplier_fifth_row'] = '<tr><td class="customtd">5</td><td class="customtd_leftalign">Payment Terms</td>';
|
||||
|
||||
$temp['supplier_fifth_row'] .= isset($serviceRow['service_provider_payment_type_master']) ? '<td class="customtd">'. $serviceRow['service_provider_payment_type_master'] .'</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
|
||||
$temp['supplier_sixth_row'] = '<tr><td class="customtd">6</td><td class="customtd_leftalign">Payment Mode</td>';
|
||||
|
||||
$temp['supplier_sixth_row'] .= $serviceRow['service_provider_payment_mode'] ? '<td class="customtd">'. $serviceRow['service_provider_payment_mode'] .'</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
|
||||
$temp['supplier_seventh_row'] = '<tr><td class="customtd">7</td><td class="customtd_leftalign">No of Days Credit</td>';
|
||||
|
||||
$temp['supplier_seventh_row'] .= $serviceRow['service_provider_credit_days_from'] && $serviceRow['service_provider_credit_days_to'] ? '<td class="customtd">'. $serviceRow['service_provider_credit_days_from'].' to '. $serviceRow['service_provider_credit_days_to'].' days</td></tr>' : '<td class="customtd">NA</td></tr>';
|
||||
array_push($supplierResult,$temp);
|
||||
$supplier_seventh_row .= $serviceRow['service_provider_credit_days_from'] && $serviceRow['service_provider_credit_days_to'] ? '<td class="customtd">'. $serviceRow['service_provider_credit_days_from'].' to '. $serviceRow['service_provider_credit_days_to'].' days</td>' : '<td class="customtd">NA</td>';
|
||||
//array_push($supplierResult,$temp);
|
||||
|
||||
//}
|
||||
}//}
|
||||
|
||||
}
|
||||
|
||||
$supplier_first_row .= '</tr>';
|
||||
$supplier_second_row.= '</tr>';
|
||||
$supplier_third_row .= '</tr>';
|
||||
$supplier_fourth_row.= '</tr>';
|
||||
$supplier_fifth_row .= '</tr>';
|
||||
$supplier_sixth_row .= '</tr>';
|
||||
$supplier_seventh_row .= '</tr>';
|
||||
}
|
||||
// echo "dsfnsdkfnj**********";
|
||||
// print_r($supplierResult);//die();
|
||||
// print_r($supplierResult);//
|
||||
|
||||
|
||||
|
||||
echo '<h3 contenteditable="true">Supplier Details</h3>' ;
|
||||
if($is_supplier_details_avaialable != null)
|
||||
@ -2906,8 +2913,8 @@ if($total_no_of_business > 0) {
|
||||
|
||||
|
||||
<?php
|
||||
foreach($supplierResult as $k => $fetchRow){
|
||||
echo '<br>Supplier '.($k+1).':<br><br>';
|
||||
// foreach($supplierResult as $k => $fetchRow){
|
||||
//echo '<br>Supplier '.($k+1).':<br><br>';
|
||||
?>
|
||||
|
||||
<table class="scorecard_table">
|
||||
@ -2916,18 +2923,21 @@ if($total_no_of_business > 0) {
|
||||
<tr>
|
||||
<th>Sr.No</th>
|
||||
<th>Particulars</th>
|
||||
<th>Details</th>
|
||||
<?php for($i = 1; $i <= $total_no_of_suppliers; $i++){
|
||||
echo "<th>Supplier $i</th>";
|
||||
}?>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php //foreach($fetchRow['details'] as $productRow){
|
||||
echo $fetchRow['supplier_first_row'];
|
||||
echo $fetchRow['supplier_second_row'];
|
||||
echo $fetchRow['supplier_third_row'];
|
||||
echo $fetchRow['supplier_fourth_row'];
|
||||
echo $fetchRow['supplier_fifth_row'];
|
||||
echo $fetchRow['supplier_sixth_row'];
|
||||
echo $fetchRow['supplier_seventh_row'];
|
||||
echo $supplier_first_row;
|
||||
echo $supplier_second_row;
|
||||
echo $supplier_third_row;
|
||||
echo $supplier_fourth_row;
|
||||
echo $supplier_fifth_row;
|
||||
echo $supplier_sixth_row;
|
||||
echo $supplier_seventh_row;
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
@ -2986,7 +2996,8 @@ if($total_no_of_business > 0) {
|
||||
|
||||
//End of Supplier Photo section
|
||||
|
||||
}//End of supplier foreach ?>
|
||||
//}//End of supplier foreach
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
@ -4170,14 +4181,18 @@ if($total_no_of_business > 0) {
|
||||
|
||||
?>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
<?php
|
||||
if(isset($final_remark_data['market_intelligence']) && $final_remark_data['market_intelligence'] != '')
|
||||
{
|
||||
echo '<li>Personal feedback or market intelligence on the case (if any):</li>';
|
||||
echo '<br>'.$final_remark_data['market_intelligence'];
|
||||
echo '<div class="intelligence">';
|
||||
echo '<b>Personal feedback or market intelligence on the case (if any):</b>';
|
||||
echo '<br><br><b>'.$final_remark_data['market_intelligence'].'</b>';
|
||||
echo '</div>';
|
||||
echo '<br>';
|
||||
}
|
||||
?>
|
||||
<ul>
|
||||
<li>Customer Behaviour: </li>
|
||||
|
||||
<br><br>
|
||||
|
||||
@ -459,6 +459,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
word-wrap:break-word
|
||||
width:50%;
|
||||
}
|
||||
|
||||
.intelligence{
|
||||
/*background-color: lightgrey;*/
|
||||
width: auto;
|
||||
border: 5px solid #0191ed;
|
||||
padding: 5px;
|
||||
/*margin: 10px;*/
|
||||
}
|
||||
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
|
||||
@ -1979,22 +1987,25 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if(isset($iterateAsset['details']) && count($iterateAsset['details']))
|
||||
{
|
||||
echo $iterateAsset['company_name']; ?></p>
|
||||
<table class="scorecard_table">
|
||||
<?php
|
||||
|
||||
echo $iterateAsset['details']['header_row']; ?>
|
||||
<?php
|
||||
foreach ($iterateAsset['details'] as $key => $value) {
|
||||
echo '<table class="scorecard_table">';
|
||||
echo '<body>';
|
||||
echo $value['header_row']; ?>
|
||||
<tbody>
|
||||
<?php
|
||||
echo $iterateAsset['details']['first_row'];
|
||||
echo $iterateAsset['details']['sec_row'];
|
||||
echo $iterateAsset['details']['third_row'];
|
||||
echo $iterateAsset['details']['fourth_row'];
|
||||
echo $iterateAsset['details']['fifth_row'];
|
||||
echo $iterateAsset['details']['sixth_row'];
|
||||
echo $iterateAsset['details']['seventh_row'];
|
||||
echo $iterateAsset['details']['eighth_row'];
|
||||
echo $value['first_row'];
|
||||
echo $value['sec_row'];
|
||||
echo $value['third_row'];
|
||||
echo $value['fourth_row'];
|
||||
echo $value['fifth_row'];
|
||||
echo $value['sixth_row'];
|
||||
echo $value['seventh_row'];
|
||||
echo $value['eighth_row'];
|
||||
echo '</tbody>';
|
||||
echo '</table>';
|
||||
echo '<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2381,7 +2392,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<?php if($getEachValues['is_od_cc']){?>
|
||||
<th>OD/CC Limit(Rs)</th>
|
||||
<?php }?>
|
||||
<th>Main Business AC</th>
|
||||
<th>Main Business A/c</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
@ -4142,14 +4153,18 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
?>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
<?php
|
||||
if(isset($final_remark_data['market_intelligence']) && $final_remark_data['market_intelligence'] != '')
|
||||
{
|
||||
echo '<li>Personal feedback or market intelligence on the case (if any):</li>';
|
||||
echo '<br>'.$final_remark_data['market_intelligence'];
|
||||
echo '<div class="intelligence">';
|
||||
echo '<b>Personal feedback or market intelligence on the case (if any):</b>';
|
||||
echo '<br><br><b>'.$final_remark_data['market_intelligence'].'</b>';
|
||||
echo '</div>';
|
||||
echo '<br>';
|
||||
}
|
||||
?>
|
||||
<ul>
|
||||
<li>Customer Behaviour: </li>
|
||||
|
||||
<br><br>
|
||||
|
||||
@ -427,6 +427,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
word-wrap:break-word
|
||||
width:50%;
|
||||
}
|
||||
|
||||
.intelligence{
|
||||
/*background-color: lightgrey;*/
|
||||
width: auto;
|
||||
border: 5px solid #0191ed;
|
||||
padding: 5px;
|
||||
/*margin: 10px;*/
|
||||
}
|
||||
|
||||
/* ######### TOOLTIP CSS END ######### */
|
||||
|
||||
@ -1657,14 +1665,18 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
?>
|
||||
<div>
|
||||
<ul>
|
||||
|
||||
<?php
|
||||
if(isset($final_remark_data['market_intelligence']) && $final_remark_data['market_intelligence'] != '')
|
||||
{
|
||||
echo '<li>Personal feedback or market intelligence on the case (if any):</li>';
|
||||
echo '<br>'.$final_remark_data['market_intelligence'];
|
||||
echo '<div class="intelligence">';
|
||||
echo '<b>Personal feedback or market intelligence on the case (if any):</b>';
|
||||
echo '<br><br><b>'.$final_remark_data['market_intelligence'].'</b>';
|
||||
echo '</div>';
|
||||
echo '<br>';
|
||||
}
|
||||
?>
|
||||
<ul>
|
||||
<li>Customer Behaviour: </li>
|
||||
|
||||
<br><br>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user