<?php //Zend\Debug\Debug::dump($taxFare); ?>
<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>Minutes Upto</th>
            <th>Fees</th>
            <th>Created By</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php
        if($feesFareDetails!=""){
        if (count($feesFareDetails) > 0) {
            $i = 1;
            foreach ($feesFareDetails as $listing) {
                $userName   =   $this->mainMenu()->fetchUserName($listing['created_by']);
                $bookingType   =   $this->mainMenu()->fetchMasterPackaage($listing['booking_type']);
                ?>
                <tr>
                    <!--<td class="sorting_1"><input type="checkbox" class="check" rel="<?php echo $listing['id']; ?>"></td>-->
                    <td><?php echo $i; ?></td>
                    <td><?php echo $bookingType; ?></td>
                    <td><?php echo $listing['pre_waiting_upto_minutes']; ?></td>
                    <td><?php echo $listing['pre_waiting_fees']; ?></td>
                    <td><?php echo $userName; ?></td>
                   <td><div id="changestatus1" class="<?php if($listing['status']==1){ echo "aprovestatus";}else{ echo "unaprovestatus";} ?> iconsize" name="ChangeStatus" onclick="changeRecordStatus('<?php echo $listing['id']; ?>','setting','change-prewaitingfees-status','<?php echo $listing['status'];?>')"> </div></td>
                    <td>
                        <div class="hidden-sm hidden-xs action-buttons"> 
                            <a href="<?php echo $this->url('setting', array('action' => 'add-prewaiting-fees-fare'), array('query' => array('id' => $listing['booking_type']))); ?>" 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('setting', array('action' => 'delete-prewaiting-fees-detail'), 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>
