<h3><i class="fa fa-inbox"></i> <?php echo $this->translate('Unassigned Booking');?></h3>
  <div>
<div class="nav-tabs-custom">
    <!--<ul class="nav nav-tabs pull-right">
        <li class="pull-left header"><i class="fa fa-inbox"></i> <?php echo $this->translate('Unassigned Booking');?></li>
    </ul>-->
    <div class="tab-content">
        <div>
            <div class="listingTableContainer">
                <div class="table-responsive">
                    <table id="unassigned-booking-tbl" class="table table-bordered with-pager table-striped" style="color:#333;">
                        <thead>
                            <tr>
                                <th>Sr.No.</th>
                                <th>Booking Id</th>
                                <th>PickupTime</th>
                                <th>Vehicle</th>
                                <th>BookingType</th>
                                <th>Partner</th>
                                <th>Departure</th>
                                <th>DropArea</th>
                                <th>Status</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?php //echo '<pre>';print_r($unassignedBookings);die();
                            if($unassignedBookings){
                                    $i=1;
                            foreach($unassignedBookings as $recent){ ?>
                            <tr>
                                <td><?php echo $i;?></td>
                                <td><?php echo $recent['ref'];?></td>
                                <td><?php echo $recent['ordertime'];?></td>
                                <td><?php echo $recent['vehicle'];?></td>
                                <td><?php echo $recent['booking_type'];?></td>
                                <td><?php echo (isset($recent['partner']))? $recent['partner']:''; ?></td>
                                <td><?php echo $recent['departure'];?></td>
                                <td><?php echo $recent['drop_area'];?></td>
                                <td><?php echo $recent['status'];?></td>
                            </tr>
                            <?php $i++;} }else{?>
                               <tr></tr>
                        <?php }?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
  </div>