

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


<!-- Content Header (Page header) -->
<div class="content-header">
    <div class="container-fluid">
      <div class="row mb-2">
        <div class="col-sm-6">
          <h1 class="m-0">Lista de marcas</h1>
        </div><!-- /.col -->
        <div class="col-sm-6">
          <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item"><a href="#">Home</a></li>
            <li class="breadcrumb-item active">Dashboard v2</li>
          </ol>
        </div><!-- /.col -->
      </div><!-- /.row -->
    </div><!-- /.container-fluid -->
  </div>
  <!-- /.content-header -->

  <!-- Main content -->
  <section class="content">
    <div class="container-fluid">
        <div class="row">
          <!-- left column -->
          <div class="col-md-6">
            <div class="card">
              <div class="card-header">
                <h3 class="card-title">Listado de marcas</h3>
                <a href="<?php echo e(route('NuevaMarca')); ?>" class="btn btn-success float-right">Crear nuevo</a>
              </div>
              <!-- /.card-header -->
              <div class="card-body">
                <table class="table table-bordered">
                  <thead>
                    <tr>
                      <th>Id</th>
                      <th>Descripcón</th>
                      <th>Estado</th>
                      <th>Acción</th>
                    </tr>
                  </thead>
                  <tbody>
                    <?php $__currentLoopData = $marcas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($item->marc_id); ?></td>
                            <td><?php echo e($item->marc_descripcion); ?></td>
                            <td><?php echo e($item->marc_estado); ?></td>                          
                            <td><a class="btn btn-info btn-sm" href="<?php echo e(route('CargarMarcas', $item->marc_id)); ?>"><i class="fas fa-pencil-alt"></i> Editar</a></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </tbody>
                </table>
              </div>
              <!-- /.card-body -->
              
            </div>
            <!-- /.card -->
       
     
        </div><!--/. end row -->
        </div><!--/. end col -->
        </div><!--/. container-fluid -->
  </section>
  <!-- /.content -->

  <?php $__env->stopSection(); ?>


  <?php $__env->startSection('librerias'); ?>
    <!-- JS PROPIAS DE LA VISTA-->
    <script src="<?php echo e(asset('assets/js/myfunctions/marca.js')); ?>"></script>
    
  <?php $__env->stopSection(); ?>
<?php echo $__env->make('plantilla', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Codigo\resources\views/marcaLista.blade.php ENDPATH**/ ?>