<div class="col-md-7">
    <table class="table table-bordered table-striped table-condensed">
    	<tr><th>VISA TYPE</th><th><?php echo $cust->visa_type;?></th></tr>
    	<tr><th>Destination Country</th><th><?php echo $cust->visa_country;?></th></tr>
    	<tr><th>Current Citizenship</th><th><?php echo $cust->nationality;?></th></tr>
    	<tr><th>Name</th><th>
        <img width="50px" class="img img-responsive float-right" src="<?php echo base_url().'assets/images/docs/'.$cust->photo;?>" />
		<?php echo $cust->firstname.' '.$cust->lastname;?>
        <br/><label class="badge badge-success"><?php echo $cust->gender;?></label>
		</th></tr>
    	<tr><th>Passport No.</th><th><?php echo $cust->passport_number;?></th></tr>
    	<tr><th>Passport Validity</th><th><?php echo $cust->passport_validity;?></th></tr>
        <tr><th>PAN</th><th><?php echo $cust->pan_number;?></th></tr>
        <tr><th>Aadhar</th><th><?php echo $cust->aadhar_number;?></th></tr>
    	<tr><th>DOB</th><th><?php echo $cust->dob;?></th></tr>
    	<tr><th>Mobile</th><th><?php echo $cust->mobile.' '.$cust->phone;?></th></tr>
    	<tr><th>Email</th><th><?php echo $cust->email;?></th></tr>
    	<tr><th>Address</th><th><?php echo $cust->address.' '.$cust->city.' '.$cust->state.' '.$cust->pincode;?></th></tr>
    	<tr><th>Reg Date</th><th><?php echo $cust->reg_date;?></th></tr>
    </table>
</div>
<div class="col-md-5">
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item">
    <a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true">PAN</a>
</li>
<li class="nav-item">
    <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false">AADHAR</a>
</li>
<li class="nav-item">
    <a class="nav-link" id="pills-contact-tab" data-toggle="pill" href="#pills-contact" role="tab" aria-controls="pills-contact" aria-selected="false">PASSPORT</a>
</li>
</ul>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
    <img width="100%" class="img img-responsive float-right" src="<?php echo base_url().'assets/images/docs/'.$cust->pan;?>" />
    <a href="<?php echo base_url().'assets/images/docs/'.$cust->pan;?>" download class="btn btn-sm btn-default"><i class="fa fa-download"></i> Download</a>
</div>
<div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
    <img width="100%" class="img img-responsive float-right" src="<?php echo base_url().'assets/images/docs/'.$cust->aadhar;?>" />
    <a href="<?php echo base_url().'assets/images/docs/'.$cust->aadhar;?>" download class="btn btn-sm btn-default"><i class="fa fa-download"></i> Download</a>
</div>
<div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
   <img width="100%" class="img img-responsive float-right" src="<?php echo base_url().'assets/images/docs/'.$cust->passport;?>" />
    <a href="<?php echo base_url().'assets/images/docs/'.$cust->passport;?>" download class="btn btn-sm btn-default"><i class="fa fa-download"></i> Download</a>
</div>
</div>
</div>