@extends('admin.admin_layouts') @section('styles') @if($siteLayout == 'top') @else @endif @endsection @section('breadcrumb')

{{ $pageTitle }}

@endsection @section('content')
{!! Form::open(['url' => '','autocomplete'=>'off','id'=>'lead-action-form']) !!}
{{ $campaign->name }}

@for($i=0; $i < count($leadWithData); $i += 2)
@if(in_array($leadWithData[$i]['field_name'], $phoneArray))
@else @endif
@if($i+1 < count($leadWithData))
@if(in_array($leadWithData[$i+1]['field_name'], $phoneArray))
@else @endif
@endif
@endfor
@if($lead->appointment_booked == 1) @lang('app.view') @endif
@foreach($leadWithData1 as $leadWithData1Key => $leadWithData1Value)
@if(strtolower($leadWithData1Value['field_name']) == 'notes' || strtolower($leadWithData1Value['field_name']) == 'note') @else @endif
@endforeach
@if($followUpCall) @lang('app.view') @endif

{{Form::close()}}
@forelse($lead->callLogs as $callHistory) @empty @endforelse
# @lang('module_call_enquiry.callingAgent') @lang('module_call_enquiry.duration') @lang('module_call_enquiry.calledOn')
{{ $loop->remaining + 1 }} {!! \App\Classes\Common::getUserWidget($callHistory->user) !!} {{ $callHistory->time_taken > 0 ? strtolower(\App\Classes\Common::secondsToStr($callHistory->time_taken)) : '-' }} {{ $callHistory->created_at->format('d F, Y h:i:s a') }}
@lang('messages.noCallHistoryFound')
@endsection @section('modals') @include('admin.includes.add-edit-modal') @endsection @section('scripts') @endsection