@php $VerEditor = auth()->user()->can('Clientes - Visor') || auth()->user()->can('Clientes - Editor') @endphp @if($VerEditor) @extends('layouts/app') @section('tituloModulo', 'CLIENTES') @section('contenido')
| NOMBRE | CORREO ELECTRÓNICO | TELÉFONO | @if((auth()->user()->hasRole('Super Administrador') || auth()->user()->hasRole('Administrador')) && $cliente->tipo_cuenta == 'Despacho')ABOGADO | @endifESTATUS | ACCIÓN |
|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->email }} | {{ $item->phone }} | @if((auth()->user()->hasRole('Super Administrador') || auth()->user()->hasRole('Administrador')) && $cliente->tipo_cuenta == 'Despacho')@if ($item->abogado) {{ $item->abogado }} @else Sin abogado asignado @endif | @endif@if($item->estatus_clie == 'Activo') {{$item->estatus_clie}} @endif @if ($item->estatus_clie == 'Inactivo') {{$item->estatus_clie}} @endif |
@can('Clientes - Editor')
Editar
@if ($item->estatus_clie == 'Activo')
@else
@endif
@endcan
|