<?php if($proveedores->count()>0): ?>
  <div class="row encabezado">
    <div class="col-md-1 col-sm-1 d-none d-sm-block">ID</div>
    <div class="col-md-3 col-sm-3 d-none d-sm-block">Nombre</div>
    <div class="col-md-2 col-sm-2 d-none d-sm-block">RFC</div>
    <div class="col-md-2 col-sm-2 d-none d-sm-block">Correo</div>
    <div class="col-md-2 col-sm-2 d-none d-sm-block">Teléfono</div>
    <div class="col-md-2 col-sm-2 d-none d-sm-block">Acciones</div>
  </div>
  <div class="row contenido-500">
    <div class="col-md-12">
      <?php $__currentLoopData = $proveedores; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="row cuerpo">
          <div class="col-6 d-block d-sm-none bg-dark-blue text-white text-center">ID</div>
          <div class="col-md-1 col-sm-1 col-6 d-block d-sm-none bg-dark-blue text-white text-center"><?php echo e($p->id); ?></div>
          <div class="col-md-1 col-sm-1 col-6 d-none d-sm-block text-center"><?php echo e($p->id); ?></div>
          
          <div class="col-6 d-block d-sm-none text-center">Nombre</div>
          <div class="col-md-3 col-sm-3 col-6"><?php echo e($p->nombre); ?></div>

          <div class="col-6 d-block d-sm-none text-center">RFC</div>
          <div class="col-md-2 col-sm-2 col-6"><?php echo e($p->rfc); ?></div>

          <div class="col-6 d-block d-sm-none text-center">Correo</div>
          <div class="col-md-2 col-sm-2 col-6"><?php echo e($p->correo); ?></div>

          <div class="col-6 d-block d-sm-none text-center">Teléfono</div>
          <div class="col-md-2 col-sm-1 col-6"><?php echo e($p->telefono_1); ?></div>
          

          <div class="col-6 d-block d-sm-none text-center">Acciones</div>
          <div class="col-md-2 col-sm-2 col-6 text-center" >
            <div class="btn-group btn-group-xs" role="group" aria-label="...">
              <!--respetar los colores y botones para consultar, modificar y eliminar -->
              
              <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('proveedor_consultar')): ?>
                <button class="btn btn-outline-warning" type="button" data-toggle="popover" data-trigger="hover" data-placement="left" data-content="Consultar" onclick="javascript:proveedor_consultar('<?php echo e($p->id); ?>')"><i class="fa fa-folder-open-o"></i></button>  
              <?php endif; ?>
                
              <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('proveedor_modificar')): ?>
                <button class="btn btn-outline-info"    type="button" data-toggle="popover" data-trigger="hover" data-placement="left" data-content="Modificar" onclick="javascript:proveedor_editar('<?php echo e($p->id); ?>')"><i class="fa fa-pencil"></i></button>    
              <?php endif; ?>
              
              
              <?php if($p->seleccion!=""): ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('seleccion_consultar')): ?>
                  <button class="btn btn-outline-success" type="button" data-toggle="popover" data-trigger="hover" data-placement="left" data-content="Selección" onclick="javascript:seleccion_consultar('<?php echo e($p->id); ?>')"><i class="fa fa-file-o"></i></button>
                <?php endif; ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('seleccion_exportar')): ?>
                  <a class="btn btn-outline-secondary" data-toggle="popover" data-trigger="hover" data-placement="left" data-content="Exportar Selección" href="/proveedorSeleccion/exportar/<?php echo e($p->id); ?>"><i class="fa fa-cloud-download"></i></a>
                <?php endif; ?>
              <?php endif; ?>

              <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('proveedor_eliminar')): ?>
                <button class="btn btn-outline-danger"  type="button" data-toggle="popover" data-trigger="hover" data-placement="left" data-content="Eliminar" onclick="javascript:eliminar_firma('Proveedor - Eliminar', 'proveedor_eliminar(<?php echo e($p->id); ?>)')"><i class="fa fa-trash-o"></i></button>
              <?php endif; ?>
              
            </div>
          </div>
          

          
        </div>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
  </div>
<?php else: ?> 
  <div class="row">
    <div class="col-lg-12 col-md-12 text-center">
      <h2>No se encontraron resultados.</h2>
    </div>
  </div>
<?php endif; ?><?php /**PATH /home6/itzitacu/public_html/poa/laravel/resources/views/proveedor/listado_detalles.blade.php ENDPATH**/ ?>