
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js"></script>
            <!-- TOP Nav Bar END -->
            <div class="container-fluid">
               <div class="row">
                  <div class="col-sm-12">
                     <div class="iq-card">
                        <div class="iq-card-header d-flex justify-content-between">
                           <div class="iq-header-title">
                              <h4 class="card-title">Calling Details</h4>
                           </div>
                              <span class="table-add float-right mb-3 mr-2">
                              <a href="<?php echo base_url(); ?>calling_data/export/" class="btn btn-default"><i class="fa fa-file-excel-o" aria-hidden="true"></i> Export</a>
                              </a>
                              </span>
                        </div>
                        <div class="iq-card-body">
                           <div id="table" class="table-editable">
                              
                               <table id="myTable" class="display table" style="width:100%">
              <thead>
                <tr>
                  <th>SL. No.</th>
                  <!-- <th>Equipment ID</th> -->
                  <th>Employee Name</th>
                  <th>Employee Code</th>
                  <th>Customer Name</th> 
                  <th>Customer Mobile</th>     
                  <th>Date</th>               
                  <th>Call Duration</th>               
                  <th>Status</th> 
                </tr>
              </thead>
              <tbody>
                <?php  
                $start=0;
                for($i=0;$i<count($recordSet);$i++)
                   { $start++;
                ?>
                <tr class="trBack">
                  <td scope="row"><?php echo $start; ?></td>
                  <td><?php echo $recordSet[$i]['e_name']; ?></td>
                  <td><?php echo $recordSet[$i]['employee_code']; ?></td>
                  <td><?php echo $recordSet[$i]['c_name']; ?></td>
                  <td><?php echo $recordSet[$i]['c_mobile']; ?></td>
                  <td><?php echo $recordSet[$i]['call_time']; ?></td>
                  <td><?php echo $recordSet[$i]['duration']; ?></td>
                  <td><?php echo $recordSet[$i]['status'] ?></td>


                </tr>

              <?php } ?>
              </tbody>
            </table>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <!-- Footer -->
      

<style type="text/css">
  table.dataTable thead .sorting, 
table.dataTable thead .sorting_asc, 
table.dataTable thead .sorting_desc {
    background : none;
}
</style>
