
<?php $__env->startSection('content'); ?>

          <div class="col-12">
              <div class="card-body">
            <div class="card">

              <div class="card-header" style="text-align: right;">
      <a href="<?php echo e(route('Products.create')); ?>"><button type="button" class="btn btn-primary">Add new product</button></a>
              </div>
              <!-- /.card-header -->
              <div class="card-body">
                <table id="example1" class="table table-bordered table-striped">
                  <thead>
                  <tr>
                    <th>Label</th>
                    <th>Code</th>
                    <th>Quantity</th>
                    <th>Created at</th>
                    <th>Action</th>
                  </tr>
                  </thead>
                  <tbody>
                    <?php $__currentLoopData = $Products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <tr>
                    <td><?php echo e($Product->label); ?></td>
                    <td><?php echo DNS1D::getBarcodeHTML($Product->code, 'C128A'); ?></td>
                    <td><?php echo e($Product->quantity); ?></td>
                    <td><?php echo e($Product->created_at); ?></td>
                    <td>
                      <a href="<?php echo e(route('Products.show',$Product->id )); ?>"><img src="<?php echo e(url('icons/png/eye-2x.png')); ?>"></a>
                      <a href="<?php echo e(route('Products.create')); ?>"><img src="<?php echo e(url('icons/png/pencil-2x.png')); ?>"></a>
                      <a href="<?php echo e(route('Products.create')); ?>"><img src="<?php echo e(url('icons/png/trash-2x.png')); ?>"></a>
                    </td>
                  </tr>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </tbody>
                </table>
              </div>
              <!-- /.card-body -->
            </div>
            <!-- /.card -->
          </div>
          <!-- /.col -->

          <?php $__env->stopSection(); ?>
<?php echo $__env->make('Layout.base', ['title'=>'AFRICA | List Products'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\ProductManager\resources\views/Products/index.blade.php ENDPATH**/ ?>