<?php $__env->startSection('content'); ?>
<nav id="menu_interno" class="navbar navbar-expand-lg">
    <a class="navbar-brand regresarDashboard" href="<?php echo e(route('home')); ?>"><i class="fas fa-border-all"></i></a>
    <a class="navbar-brand" href="#">Almacen</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="navbar-nav ml-auto">
        <li class="nav-item dropdown">
                <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
                    <?php echo e(Auth::user()->name); ?>

                </a>

            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
                <a class="dropdown-item" href="<?php echo e(route('logout')); ?>"
                    onclick="event.preventDefault();
                    document.getElementById('logout-form').submit();">
                        Cerrar sesión
                </a>

                <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" class="d-none">
                    <?php echo csrf_field(); ?>
                </form>
            </div>
        </li>
    </ul>
  </div>

</nav>
<div id="contenedor-dashboard" class="container-fluid">
  <div class="row ">
    <div class="col-md-12">
      <h2>Ordernes Producción</h2>
    </div>
  </div>
  <div class="col-md-12">
    <br>
    <br>
    <table id="example" class="display" style="width:100%">
      <thead>
        <tr>
          <td>Tipo</td>
          <td>Fecha</td>
          <td>Cliente</td>
          <td>Cantidad</td>
          <td>Producto</td>
          <td>Observaciones</td>
          <td>Acción</td>
        </tr>
      </thead>
      <tbody>      
        <?php $__currentLoopData = $opParciales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $op): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <tr>
            <td>OPP/<?php echo e($op->id_op); ?></td>
            <td><?php echo e(date("d/m/Y", strtotime($op->created_at))); ?></td>
            <td><?php echo e($op->op->cliente->nombre); ?></td>
            <td><?php echo e($op->cantidad); ?></td>
            <td><?php echo e($op->op->producto->nombre); ?></td>
            <td><?php echo e($op->observaciones); ?></td>
            <td>
              <a href="<?php echo e(route('fabricacion.orden_produccion',$op->id)); ?>" class=""><i class="fas fa-clipboard-check"></i></a>
            </td>
          </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </tbody>
  </table>
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\erp\resources\views/inventario/dashboard.blade.php ENDPATH**/ ?>