@extends('layouts.admin.master') @section('title')Campaign Report {{ $title }} @endsection @push('css') @endpush @php $visiblity = Session::get('visibility'); $currentUser = Session::get('userId'); $total = $PageCount; $limit = request()->get('limit',20); $skip = request()->get('skip',0); $showCount = $limit + $skip; if($showCount > $total) { $showCount = $total; } $connected = 0; $notconnected = 0; if ($data['feedbackCounts']) { foreach($data['feedbackCounts'] as $feed) { if ($feed->connected_type == 'connected') { $connected = $connected + $feed->total; } else if ($feed->connected_type == 'notconnected') { $notconnected = $notconnected + $feed->total; } } } $userWiseCountKey = json_encode($data['userFollowupCounts']->pluck('user_name')); $userWiseCountValue = json_encode($data['userFollowupCounts']->pluck('total')); $dispositionWiseCountKey = json_encode($data['feedbackCounts']->pluck('feedback_name')); $dispositionWiseCountValue = json_encode($data['feedbackCounts']->pluck('total')); @endphp @section('content')
| * | # | FUP Date | Name | Contact | FUP BY | Disposition | Remarks |
|---|---|---|---|---|---|---|---|
| {{$count++}} | {{ date('d-M-Y', strtotime($list->followup_date)) }}
|
{{$list->Name}} | {{$contact}} | {{$list->calledBy}} | {{isset($list->disposition_name) ? $list->disposition_name : ''}} | {{$list->remark ? $list->remark : 'N/A'}} |