<style>
   .email-form-input {
      padding: 0.375rem 0.75rem;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      color: #495057;
      background-color: #ffffff;
      background-clip: padding-box;
      border: 1px solid #ced4da;
      border-radius: 0.25rem;
      box-shadow: inset 0 0 0 rgb(0 0 0 / 0%);
      transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
   }

   .email-form-input:focus,
   .email-form-input:active {
      border-color: rgba(126, 239, 104, 0.8);
      outline: 0 none;
   }

   .w-0-email {
      width: auto !important;
   }
</style>

<div class="content-header">
   <div class="container-fluid">
      <div class="row mb-2">
         <div class="col-sm-6">
            <h1 class="m-0 text-dark">Driver Info
            </h1>
         </div>
         <!-- /.col -->
         <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
               <li class="breadcrumb-item"><a href="<?= base_url(); ?>/Rent">Rent</a></li>
               <li class="breadcrumb-item active">Rent Request Info</li>
            </ol>
         </div>
         <!-- /.col -->
      </div>
      <!-- /.row -->
   </div>
   <!-- /.container-fluid -->
</div>
<!-- Main content -->
<section class="content">
   <div class="container-fluid">
      <div class="card">
         <div class="card-body p-0">
            <div class="table-responsive">
               <table id="driverslisttbl" class="table card-table table-vcenter text-nowrap">
                  <thead>
                     <tr>
                        <th class="w-1">S.No</th>
                        <th>Date/Time</th>
                        <th>Name</th>
                        <th>Father Name</th>
                        <th>Cnic</th>
                        
                        <th>Contact</th>
                        <th>Action</th>
                        
                     </tr>
                  </thead>
                  <tbody>
                     <?php if (!empty($reminderlist)) {
                        $count = 1;
                        foreach ($reminderlist as $id => $driverslists) {
                     ?>
                           <tr>
                              <td> <?php echo output($count);
                                    $count++; ?>
                              </td>
                              <td>
                                 <p>
                                    <?php echo $driverslists["v_createdDate"] ?>

                                 </p>
                              </td>
                                <td>
                                 <p>
                                    <?php echo $driverslists["r_fullName"] ?>

                                 </p>
                              </td>
                              <td>
                                 <p><?php echo $driverslists["r_fatherName"] ?></p>
                              </td>

                              <td> <?php echo $driverslists["r_idcard"] ?> </td>
                              <td> <?php echo $driverslists["r_phoneNumber"] ?> </td>
                              
                              
                                 <td>
                                    <!-- <a class="icon" href="<?php echo base_url(); ?>drivers/editdriver/<?php echo output($id); ?>">
                                       <i class="fa fa-edit"></i>
                                    </a> -->

                                    <a class="icon" href="<?php echo base_url(); ?>rent/view_rentrequest/<?php echo output($id); ?>">
                                       <i class="fa fa-eye"></i>
                                    </a>
                                    <a href="<?= base_url() . "rent/editrentrequest/" . $id ?>"><i class="fa fa-edit" aria-hidden="true"></i></a>
                                <a class="icon" href="<?php echo base_url(); ?>rent/deletereminder/<?php echo output($id); ?>">
                              <i class="fa fa-trash text-danger"></i>
                            </a>
                          
                                 </td>
                              
                              
                           </tr>
                           <?php }  }?>
                  </tbody>
               </table>

            </div>
         </div>
         <!-- /.card-body -->
      </div>
   </div>
</section>
<!-- /.content -->