<!-- Main content -->
                <section class="content">

                    <!-- Small boxes (Stat box) -->
                    <div class="row">
                     
                        <div class="col-md-12">
                        <div class="box">
                        <div class="box-header">
                                    <h3 class="box-title">Bookings view</h3>                                    
                                </div>
                                <div class="box-body table-responsive">
                                  
                                    <table id="example1" class="table table-bordered table-striped">
                                        <thead>
                                            <tr>
                                                <th>SL no</th>
                                                <th>Name</th>
                                                <th>Equipment Type</th>
                                                <th>Appointment Date</th>
                                                <th>Edit</th>
                                         
                                            </tr>
                                        </thead>
                                        <tbody>
											<?php 
										$i=1;
											foreach($bookings as $booking){ ?>
                                            <tr>
                                                <td><?php echo $i;?></td>
                                                <td><?php echo $booking->name;?></td>
                                                <td><?php echo $booking->equipment_type;?></td>
                                                
                                                <td><?php echo date('d/m/Y' ,strtotime($booking->appointment_date));?></td>
                                                
                                                <td><a href="<?php echo site_url('aqadmin/view_bookingdetails?id='.$booking->id);?>">view</a></td>
                                            </tr>
                                      
                                      <?php  $i++;  } ?>
                                        </tbody>
                                       
                                    </table>
                                </div><!-- /.box-body -->
                                </div>
                        </div>
                    </div><!-- /.row -->

                    <!-- top row -->
                     
                    

                    
                    
