<?php echo $__env->make('dashboard.include.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

  
  <div class="content-wrapper">
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0">Remaining Stock</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="/home">Home</a></li>
              <li class="breadcrumb-item active">Remaining Stock</li>
            </ol>
          </div>
        </div>
      </div>
    </div>
   
    <section class="content">
      <div class="container-fluid">
      <div class="card">
        <div class="card-body">
        <form method="post" action="/priceupdatefilter">
        <?php echo e(csrf_field()); ?>

        <div class="row">
            <div class="col-md-4">
                <div class="form-group">
                    <label>Select Reseller</label>
                    <select class="form-control" name="reseller_name" id="reseller_name" style="width: 100%;" required>
                        <option value="" selected="selected" disabled>Select</option>
                            <?php $__currentLoopData = $delise; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($data->id); ?>"><?php echo e($data->companyname); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
            <div class="col-md-1" style="padding-top:30px;"><button type="submit" class="btn btn-info btn-block">Filter</button></div>
            </div>
        </form>
          <br><hr><br>
          <div class="row">
            <div class="col-md-12">
            <table id="example1" class="table table-bordered" style="width:100%">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Product Name</th>
                        <th>Reseller Sell Price</th>
                        <th>Dropshipping Price</th>
                        <th>Stock</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>

                </tbody>
                <tfoot>
                    <tr>
                        <th>Id</th>
                        <th>Product Name</th>
                        <th>Reseller Sell Price</th>
                        <th>Dropshipping Price</th>
                        <th>Stock</th>
                        <th>Action</th>
                    </tr>
                </tfoot>
            </table>
            
            </div>
          </div>
          </div>
        </div>
      </div>
    </section>
  </div>
 



  <?php echo $__env->make('dashboard.include.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>;

<script>
$(function () {
    $("#example1").DataTable({
      "responsive": true, "lengthChange": true, "autoWidth": false,"order": [[ 0, "asc" ]],
      "buttons": [ "colvis", "excel"]
    }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
  });
</script>

