@php $VerEditor = (auth()->user()->can('Abogados - Visor') || auth()->user()->can('Abogados - Editor')) && $cliente->tipo_cuenta == 'Despacho' @endphp @if($VerEditor) @extends('layouts/app') @section('tituloModulo', 'ABOGADOS') @section('contenido')
| NOMBRE | CORREO ELECTRÓNICO | TELÉFONO | ESPECIALIDAD | @role('Administrador|Super Administrador|Abogado|Pasante')ESTATUS | @endroleACCIÓN |
|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->email }} | {{ $item->phone }} | {{ $item->specialty }} | @role('Administrador|Super Administrador|Abogado|Pasante')@if($item->estatus_abog == 'Activo') {{$item->estatus_abog}} @endif @if ($item->estatus_abog == 'Inactivo') {{$item->estatus_abog}} @endif | @endrole
@can('Abogados - Editor')
Editar
@if ($item->estatus_abog == 'Activo')
@else
@endif
@endcan
|