  <h3><i class="fa fa-inbox"></i> <?php echo $this->translate('Accepted 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('Assigned 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>S.No.</th>
                                <th>Id</th>
                                <th>PickupTime</th>
                                <th>Vehicle</th>
                                <th>BookingType</th>
                                <th>Partner</th>
                                <th>Departure</th>
                                <th>DropArea</th>
                                <th>Status</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?php //echo '<pre>';print_r($unassignedBookings);die();
                            if($assignedBookings){
                                    $i=1;
                            foreach($assignedBookings as $assigned){ ?>
                            <tr>
                                <td><?php echo $i;?></td>
                                <td><?php echo $assigned['ref'];?></td>
                                <td><?php echo $assigned['ordertime'];?></td>
                                <td><?php echo $assigned['vehicle'];?></td>
                                <td><?php echo $assigned['booking_type'];?></td>
                                <td><?php echo (isset($assigned['partner']))? $assigned['partner']:''; ?></td>
                                <td><?php echo $assigned['pickup_area'];?><br/><?php echo $assigned['departure'];?></td>
                                <td><?php echo $assigned['drop_area'];?></td>
                                <td><?php echo $assigned['status'];?></td>
                                <td><a href="javascript: void(0);" onclick="claimBooking('<?php echo $assigned['ref'];?>');">Claim</td>
                            </tr>
                            <?php $i++;} }else{?>
                               <tr></tr>
                        <?php }?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</div>