@extends('admin.layouts.app') @section('title') {{ __('followup_list') }} @endsection @section('content')
{{-- Search --}}
{{-- @if(request('created_by') || request('type') || request('searchName') || request('assign_to') || request('statusFollowup') || request('priority') || request('closeStatus')|| request('daterange') || request('datetimeD')) --}}
{{-- @else @endif --}}
@if (userCan('admin.assign'))
@else @endif
{{-- Table --}}
@if ($followups->count() > 0) @foreach ($followups as $followup) @if(isset($followup->user->id)) @else @endif @endforeach @else @endif
{{ __('id') }} {{ __('customer') }} Followup Time {{ __('priority') }} Current Followup Status Channel Followup Status {{ __('comment') }} Created Created by Assignee
{{@$followup->user->id}}

{{ ucwords(substr($followup->user->name, 0, 27)) }}

{{$followup->datetime ? \Carbon\Carbon::parse($followup->datetime)->format('d-M-Y h:m A') : '' }} {{@$followup->priority}} @if(@$followup->close_status == '1') Completed @else Pending @endif {{@$followup->type}} follow_up_status == 'Connected') style="color: green;" @elseif ($followup->follow_up_status == 'Not Connected') style="color: red;" @endif> {{ @$followup->follow_up_status }} comment) > 40) class="hoverable-cell" @endif> @if(strlen($followup->comment) > 40) {{ ucwords(substr($followup->comment, 0, 40)) }}... {{ ucwords($followup->comment) }} @else {{ ucwords($followup->comment) }} @endif {{@$followup->created_at->format('d-M-Y h:m A')}} @if (!empty($followup->admin->name)) {{$followup->admin->name}} @endif @if (!empty($followup->assign_to)) {{ ucwords(adminIdToNameGet($followup->assign_to)) }} @endif
{{ __('no_data_found') }}
@if ($followups->count())
{{ $followups->links() }}
@endif
@endsection @section('style') @endsection @section('script') @endsection