@extends('adminlte::page') @section('plugins.Datatables', true) @section('plugins.Sweetalert2', true) @section('title', 'Intranet | Registros De Usuarios') @section('content_header')
| Acción | Rut | Nombre | Correo | Cargo | Teléfono | Centro De Costo | Sucursal | Empresa | Rol | Estado |
|---|---|---|---|---|---|---|---|---|---|---|
|
@if (auth()->user()->id != $usuario->id)
@if ($usuario->admin_mestro == false)
@if (Gate::check('usuario.destroy') || Gate::check('usuario.edit'))
|
{{ $usuario->rut }} | {{ $usuario->name }} | {{ $usuario->email }} | {{ $usuario->cargo }} | {{ $usuario->telefono }} | {{ $centroCostos }} | {{ $usuario->sucursal }} | {{ $usuario->empresa->razon_social }} | {{ $roles }} | @if ($usuario->estado == 'Operativo') {{ $usuario->estado }} @else {{ $usuario->estado }} @endif |