MWISE Report Alignment for landmark : ps
This commit is contained in:
parent
596b8231c5
commit
50f0732d46
@ -9,6 +9,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$title = "";
|
||||
if($master[0]['sales_pd_type'] == 1){$title = "Physical "; }else if($master[0]['sales_pd_type'] == 2){$title = "Tele ";}
|
||||
$smc_emp_code = $master[0]['smc_emp_code'];
|
||||
$address_row_span = 2;
|
||||
if(isset($section1['landmark']) && $section1['landmark'] !='') { $address_row_span = 3; }
|
||||
//print_r($master[0]['abbr']);die();
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -191,11 +193,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<td class = "tdcenteralign" colspan="7"><?php echo $section1['person_met_during_visit']?></td>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<td colspan="3" rowspan="2" ><?php if($master[0]['sales_pd_type'] == 1){echo 'Address Visited'; }else{ echo 'Business Address'; } ?></td>
|
||||
<!-- <td class = "tdcenteralign" colspan="7"><?php echo $section1['address_visited']?></td> -->
|
||||
<td class = "tdcenteralign" colspan="7">
|
||||
<?php echo $section1['address_visited']; if(isset($section1['landmark']) && $section1['landmark'] !="" ){ ?> </br><p> <?php echo "Landmark : ".$section1['landmark']; ?> </p> <?php } ?>
|
||||
</td>
|
||||
<td colspan="3" rowspan="<?php echo $address_row_span; ?>" ><?php if($master[0]['sales_pd_type'] == 1){echo 'Address Visited'; }else{ echo 'Business Address'; } ?></td>
|
||||
<td class = "tdcenteralign" colspan="7"><?php echo $section1['address_visited']?></td>
|
||||
</tr>
|
||||
<?php if(isset($section1['landmark']) && $section1['landmark'] !=''){ ?>
|
||||
<tr style="background-color: white !important;">
|
||||
<td colspan="3">Landmark</td>
|
||||
<td class = "tdcenteralign" colspan="7"><?php echo $section1['landmark']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td>City</td>
|
||||
<td class = "tdcenteralign"><?php echo $section1['city']?></td>
|
||||
|
||||
@ -9,6 +9,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
$title = "";
|
||||
if($master[0]['sales_pd_type'] == 1){$title = "Physical "; }else if($master[0]['sales_pd_type'] == 2){$title = "Tele ";}
|
||||
$smc_emp_code = $master[0]['smc_emp_code'];
|
||||
$address_row_span = 2;
|
||||
if(isset($section1['landmark']) && $section1['landmark'] !='') { $address_row_span = 3; }
|
||||
//print_r($master[0]['abbr']);die();
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@ -170,11 +172,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
<td class = "tdcenteralign" colspan="7"><?php echo $section1['person_met_during_visit']?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" rowspan="2" ><?php if($master[0]['sales_pd_type'] == 1){echo 'Address Visited'; }else{ echo 'Business Address'; } ?></td>
|
||||
<td class = "tdcenteralign" colspan="7">
|
||||
<?php echo $section1['address_visited']; if(isset($section1['landmark']) && $section1['landmark'] !="" ){ ?> </br><p> <?php echo "Landmark : ".$section1['landmark']; ?> </p> <?php } ?>
|
||||
</td>
|
||||
<td colspan="3" rowspan="<?php echo $address_row_span; ?>"><?php if($master[0]['sales_pd_type'] == 1){echo 'Address Visited'; }else{ echo 'Business Address'; } ?></td>
|
||||
<td class = "tdcenteralign" colspan="7"><?php echo $section1['address_visited']?></td>
|
||||
</tr>
|
||||
<?php if(isset($section1['landmark']) && $section1['landmark'] !=''){ ?>
|
||||
<tr style="background-color: white !important;">
|
||||
<td colspan="3">Landmark</td>
|
||||
<td class = "tdcenteralign" colspan="7"><?php echo $section1['landmark']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td>City</td>
|
||||
<td class = "tdcenteralign"><?php echo $section1['city']?></td>
|
||||
@ -185,10 +191,10 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
</tr>
|
||||
|
||||
<?php if( $master[0]['sales_pd_type'] == 2){ ?>
|
||||
|
||||
<tr>
|
||||
<td colspan="3">Applicant qualification</td>
|
||||
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['applicant_qualification'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">Mother's Name</td>
|
||||
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['mother_name'];?></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user