<?php //Zend\Debug\Debug::dump($mvehicleList); ?>
<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr role="">
            <th><input type="checkbox" class="selectall">All</th>
            <th>S.No</th>
            <th>Booking Type</th>
            <th>User Type</th>
            <th>User Grade</th>
            <th>Points</th>
            <th>Conversion Rate</th>
            <th>Created By</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php
        if($mvehicleList!=""){
        if (count($mvehicleList) > 0) {
            $i = 1;
            foreach ($mvehicleList as $listing) {
                $userName   =   $this->mainMenu()->fetchUserName($listing['created_by']);
                ?>
                <tr>
                    <td class="sorting_1"><input type="checkbox" class="check" rel="<?php echo $listing['id']; ?>"></td>
                    <td><?php echo $i; ?></td>
                    <td><?php echo $listing['package_name']; ?></td>
                    <td><?php echo $listing['user_type']; ?></td>
                    <td><?php echo $listing['user_grade']; ?></td>
                    <td><?php echo $listing['points']; ?></td>
                    <td><?php echo $listing['conversion_rate']; ?></td>
                    <td><?php echo $userName; ?></td>
                    <td><div  class="iconsize <?php echo ($listing['status'] == '1' ? 'aprovestatus' : 'unaprovestatus'); ?>" name="ChangeStatus"> </div>
                    <td>
                        <div class="hidden-sm hidden-xs action-buttons"> <!--<a class="blue" href="#"> <i class="ace-icon fa fa-search-plus bigger-130"></i> </a>-->
                            <a href="<?php echo $this->url('fare-setting', array('action' => 'edit-point-conversion'), array('query' => array('id' => $listing['id']))); ?>" class="red pointer edit-form" title="Edit" rel="<?php echo $listing['id']; ?>"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>
                            <!--<a class="red" href="<?php echo $this->url('vehicletype', array('action' => 'delete'), array('query' => array('data' => $listing['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" style="text-align: center;">No Records Found</td>
            </tr>
<?php } ?>
    </tbody>
</table>
