@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')
@php $campaign = getLeadStage('Campaign'); @endphp
query('searchFollowupDate') ?? ''}}/>
@php $callFeedList = getLeadFeedbackType('all'); @endphp
@php $usrList = getUserByVisibility($visiblity,$currentUser); @endphp
Total Lead

{{$data['totalLead'] ?? 0}}

Untouched Lead

{{$data['untouched'] ?? 0}}

Total follouwp

{{$data['totalFollowup'] ?? 0}}

Connected FUP

{{$connected}}

Not Connected FUP

{{$notconnected}}

User wise followup
calling feedback
@if(hasAccess('downloadEnquire-add')=="true") @endif
Enquire Showing {{$skip + 1}}-{{$showCount}} of {{$total}}
@php $count = $skip + 1; $userList = getUserList(); @endphp @foreach($data['list'] as $list) @php $contact = $list->PrimaryContact ? $list->PrimaryContact : $list->SecondaryContact; if(strlen($contact) < 3 ) { $len = 0; } else { $len = 3; } $contact = substr_replace($contact,str_repeat("*",strlen($contact)-$len),0,strlen($contact)-3); if(Session::get('isPhone')=="List" || Session::get('isPhone')=="ALL") { $contact = $list->PrimaryContact ? $list->PrimaryContact : $list->SecondaryContact; } @endphp @endforeach
* # 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'}}
    @push('scripts') @endpush @endsection