@extends ('../welcome') @section('content')
Actions Taking Place
{{-- --}}
Total: {{ $communications->total() }}
user()->type == 'admin' || auth()->user()->role->hasPermission('nextActions-export') ? 'example2' : 'nonExport' }} class="table table-bordered table-striped"> @foreach ($communications as $communication) @if ($communication->broker_id == null && !empty($communication->lead)) @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('users-show')) @endif @endif @endforeach
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)
  • {{$phone->country->phonecode}} {{$phone->phone}}
  • @endforeach
    {{ $communication->lead->LeadStatus->name }} {{ $communication->description }} {{ $communication->created_at }} {{ $communication->user?->name }} @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('communications-show'))
    @csrf
    @endif
    @endsection