<style>
table{
  margin: 0 auto;
  width: 100%;
  clear: both;
  border-collapse: collapse;
  table-layout: fixed; 
  word-wrap:break-word; 
}
</style>
<?php
  $admin = $this->session->userdata('admin');
  $arr = $admin['rights'];
  $rights = explode(",",$arr);
?>
<div class="row page-titles">
  <div class="col-md-6 align-self-center">
    <h4 class="text-themecolor">MANAGE EXHIBITION / SEMINAR / WEBINAR</h4>
  </div>
  <div class="col-md-6 align-self-center text-right">
    <div class="d-flex justify-content-end align-items-center">
      <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="<?php echo base_url();?>admin/dashboard">HOME</a></li>
        <li class="breadcrumb-item active">EXHIBITION / SEMINAR / WEBINAR</li>
      </ol>
    </div>  
  </div>
</div>
<div class="col-12 ">
  <div class="card mt-4">
    <div class="card-body">
      <!--<div class="col-md-4 offset-8">
        <button class="btn btn-block btn-rounded btn-outline-success" onclick="window.location.href='<?php echo base_url(); ?>exhibitionseminarwebinar/add'">ADD EXHIBITION / SEMINAR / WEBINAR
        </button>  
      </div>-->
       <input type="hidden" id="productheaderid" value="<? echo $exhibitionseminarwebinar[0]->productheaderid;?>" name="productheaderid">
           		                <? if($exhibitionseminarwebinar[0]->educationid > 0){ ?>
									Name of the Course/Skill Training: <?php echo $exhibitionseminarwebinar[0]->productname; ?><br>
									Description about the Course  : <?php echo $exhibitionseminarwebinar[0]->productdescription; ?><br>
									Date & Time: <?php echo date("d-M-Y",strtotime($exhibitionseminarwebinar[0]->validfrom)); ?><br>
								<? }else {?>
								    Name: <?php echo $exhibitionseminarwebinar[0]->productname; ?><br>
									Description : <?php echo $exhibitionseminarwebinar[0]->productdescription; ?><br>
									Date & Time: <?php echo date("d-M-Y",strtotime($exhibitionseminarwebinar[0]->validfrom)); ?><br>
								<? } ?>
								
								<? if($exhibitionseminarwebinar[0]->exhibitionid > 0){ ?>
                                        <table border='1'>
                                             <thead>
                                                 <tr>
                                                    <th>Sq. Mt. Charges  </th>
                                                    <th>bare Space</th>
                                                    <th>Stall Space </th>
                                                </tr>
                                             </thead>
                                             <tbody>
                                                 <tr>
                                                    <td>Rate per Sq. Mt. For Members Plexconcil Members </td>
                                                    <td>₹<?php echo $exhibitionseminarwebinar[0]->exhibitionid; ?>/- </td>
                                                    <td>₹<?php echo $exhibitionseminarwebinar[0]->stallmembertotalprice; ?>/- </td>
                                                </tr>
                                                <tr>
                                                    <td>Rate per Sq. Mt. For Non-Member </td>
                                                    <td>₹<?php echo $exhibitionseminarwebinar[0]->nonmembertotalprice; ?>/-</td>
                                                    <td>₹<?php echo $exhibitionseminarwebinar[0]->stallnonmembertotalprice; ?>/-</td>
                                                </tr>
                                             </tbody>
                                            
                                        </table>
                                     <? }else if($exhibitionseminarwebinar[0]->educationid > 0){ ?>
									    Course Fee : Plexconcil Members : ₹<?php echo $exhibitionseminarwebinar[0]->membertotalprice; ?>/- And 
                                                                Non-Member : ₹<?php echo $exhibitionseminarwebinar[0]->nonmembertotalprice; ?>/-
									  <? }else{ ?>
									    Participation Charges : Plexconcil Members : ₹<?php echo $exhibitionseminarwebinar[0]->membertotalprice; ?>/- And 
                                                                Non-Member : ₹<?php echo $exhibitionseminarwebinar[0]->nonmembertotalprice; ?>/-
									 <? } ?>
	
      
    </div>
  </div>
</div>
<div class="col-12 ">
  <div class="card mt-4">
    <div class="card-body">
      <!--<div class="col-md-4 offset-8">
        <button class="btn btn-block btn-rounded btn-outline-success" onclick="window.location.href='<?php echo base_url(); ?>exhibitionseminarwebinar/add'">ADD EXHIBITION / SEMINAR / WEBINAR
        </button>  
      </div>-->
    <div class="row">
        <div class="col-md-4 offset-8">
          <a href="<?php echo base_url(); ?>excel/getexhibitionseminarwebinarbookmemberexcel/<?=$exhibitionseminarwebinar[0]->productheaderid;?>" class="btn btn-block btn-outline-success btn-rounded" >DOWNLOAD AS EXCEL</a>
        </div>
      </div>
      <table id="bookedmembersSWTable" class="table table-striped table-bordered text-center" cellspacing="0" width="100%">
        <thead>
          <tr>
            <th>Receipt No</th>
            <th>Payment Date</th>
            <th>Company Name</th>
            <th>Contact Person Name</th>
            <th>Email</th>
            <th>Contact No.</th>
            <th>Paid Amount</th>
            <!--<th>View Invoice</th>-->
            <th>View Receipt</th>
          </tr>
        </thead>
        <tbody>
        </tbody>
      </table>
    </div>
  </div>
</div>