<?php echo $__env->make('includes.admin_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<style>
    .w-100 {
    width: 80% !important;
}
</style>
<div class="d-flex" id="wrapper">
  <!-- Sidebar -->
  <?php echo $__env->make('includes.admin_sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- Main Content -->
  <div class="container-fluid py-4 px-4 order-s">
    <div class="d-flex justify-content-between align-items-center mb-4">
      <h2><i class="bi bi-receipt me-2"></i>Warranty Request List</h2>
      <!--<button class="btns btns-hover"><span><i class="bi bi-plus-circle me-1"></i> New Order</span></button>-->
    </div>

    <div class="table-responsive shadow-sm rounded bg-white p-3">
      <table class="table align-middle table-hover datatable">
        <thead class="table-light">
          <tr>
            <th>#</th>
            <th>Account Name</th>
            <th>Account Number</th>
            <th>Name</th>
            <th>Email</th>
            <th>Phone</th>
            <th>Product Type</th>
            <th>Claim Category</th>
            <th>Address</th>
            <th>Qty</th>
            <th>Item Number</th>
            <th>Manufacturer</th>
            <th>Invoice No</th>
            <th>Purchased Date</th>
            <th>reason</th>
            <th>Make</th>
            <th>Model</th>
            <th>Year</th>
            <th>Date</th>
          </tr>
        </thead>
        <tbody>
        <?php $__currentLoopData = $warrantydata; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
        <td><?php echo e($key + 1); ?></td>
        <td><?php echo e($p->account_name); ?></td>
        <td><?php echo e($p->account_no); ?></td>
        <td><?php echo e($p->first_name." ".$p->last_name); ?></td>
        <td><?php echo e($p->email); ?></td>
        <td><?php echo e($p->phone); ?></td>
        <td><?php echo e($p->product_type); ?></td>
        <td><?php echo e($p->claim_category); ?></td>
        <td><?php echo e($p->address); ?></td>
        <td><?php echo e($p->qty); ?></td>
        <td><?php echo e($p->item_number); ?></td>
        <td><?php echo e($p->manufacturer); ?></td>
        <td><?php echo e($p->invoice_no); ?></td>
        <td><?php echo e($p->purchased_date); ?></td>
        <td><?php echo e($p->reason); ?></td>
        <td><?php echo e($p->make); ?></td>
        <td><?php echo e($p->model); ?></td>
        <td><?php echo e($p->year); ?></td>
        <td><?php echo e($p->created_at); ?></td>
        </tr>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
      </table>
    </div>
  </div>
</div>
</div>

<?php echo $__env->make('includes.admin_footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php /**PATH /home/ecommerceseo/public_html/thetireshop/resources/views/admin/warranty_request.blade.php ENDPATH**/ ?>