@php $VerEditor = auth()->user()->can('Empleados - Visor') || auth()->user()->can('Empleados - Editor') @endphp @if($VerEditor) @extends('layouts/app') @section('tituloModulo', 'EMPLEADOS') @section('contenido')
| NOMBRE | CORREO ELECTRÓNICO | TELÉFONO | PUESTO | ESTATUS | @can('Empleados - Editor')ACCIÓN | @endcan
|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->email }} | {{ $item->telefono_empr }} | {{ $item->puesto_empr }} | @if($item->estatus_empr == 'Activo') {{$item->estatus_empr}} @endif @if ($item->estatus_empr == 'Inactivo') {{$item->estatus_empr}} @endif | @can('Empleados - Editor')@endcan |