@extends ('../welcome') @section('content')
| ID | Lead Name | Phone | Status | Comment | Date | Created By | View |
|---|---|---|---|---|---|---|---|
| {{ $communication->id }} | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-show')) {{ $communication->lead->name ?? '' }} @else {{ $communication->lead->name ?? '' }} @endif |
@foreach($communication->lead->phone_numbers as $phone)
|
{{ $communication->lead->LeadStatus->name }} | {{ $communication->description }} | {{ $communication->created_at }} | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('users-show')){{ $communication->user?->name }} | @endif@if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('communications-show')) @endif |