<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th><input type="checkbox" class="selectall">All</th>
                                                        <th>S.No</th>
                                                        <th>Booking Mode</th>
                                                        <th>Booking Type</th>
                                                        <th>Package Name</th>
                                                        <th>Hours</th>
                                                        <th>Kilometer</th>
                                                        <th>Status</th>
                                                        <th>Action</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <?php $viewData = $this->localPackageData['data'];
                                                    //echo'<pre>';print_r($viewData);die();
                                                   
                                                    if(count($viewData)>0){
                                                        $i=1;
                                                      foreach($viewData as $row){
                                                    ?>
                                                    <tr>
                                                    <td class="center"><label class="pos-rel">
                        <input type="checkbox" rel="<?php echo $row['local_package_id']; ?>" class="ace list-checkbox check" />
                            <span class="lbl"></span> </label>
                    </td>
                                                        <td><?php echo $i; ?></td>
                                                        <td><?php echo $row['booking_mode']; ?></td>
                                                        <td><?php echo $row['booking_type']; ?></td>
                                                        <td><?php echo $row['package_name']; ?></td>
                                                        <td><?php echo $row['hrs']; ?></td>
                                                        <td><?php echo $row['km']; ?></td>
                                                        <td><div class="iconsize <?php echo ($row['status'] == '1' ? 'aprovestatus' : 'unaprovestatus'); ?>" name="ChangeStatus"> </div></td>
                                                        <td>
    <div class="hidden-sm hidden-xs action-buttons43">
        <a class="red " title="Edit" href="<?php echo $this->url().'/edit-package-fare/'.$row['local_package_id']; ?>"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>
           <a class="red" href="<?php echo $this->url('cabfare', array('action' => 'delete-local-package'), array('query' => array('id' => $row['local_package_id']))); ?>" title="Delete"> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a>
   </div></td>
                                                    </tr>
                                                      <?php $i++; }}else{ ?>
                                                        <tr>
                                                            <td colspan="8">No Record Found...</td>
                                                        </tr>
                                                    <?php } ?>
                                                 </tbody>
                                            </table>
                                        
                             