<?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>Name</th>
            <th>Description</th>
            <th>Created By</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php
        if($uLicenseList!=""){
        if (count($uLicenseList) > 0) {
            $i = 1;
            foreach ($uLicenseList as $listing) {
                $userName   =   $this->mainMenu()->fetchUserName($listing['created_by']);
                ?>
                <tr>
                 <td><input type="checkbox" class="check" rel="<?php echo $listing['id']; ?>"></td>
                    <td><?php echo $i; ?></td>
                    <td><?php echo $listing['name']; ?></td>
                    <td><?php echo $listing['description']; ?></td>
                    <td><?php echo $userName; ?></td>
                   <td><div id="changestatus-<?php echo $listing['id']; ?>" status="<?php echo $listing['status'];?>"  class="iconsize <?php echo ($listing['status'] == '1' ? 'aprovestatus' : 'unaprovestatus'); ?>" name="ChangeStatus" onclick="changeRecordStatus('<?php echo $listing['id']; ?>','cron','change-record-status','<?php echo $listing['status'];?>')"> </div>
                </td>
                    <td>
                        <div class="hidden-sm hidden-xs action-buttons"> 
                  <a href="#" class="red pointer edit-form" title="Edit Cab"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>    
                  <a class="red" href="<?php echo $this->url('cron', array('action' => 'delete-cron'), 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>
