@extends('admin.layout') @section('content')

{{ trans('Add Question') }}

@php $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
@php $i=1; $questype=[]; @endphp @if(count((array) $result['calldetailsquestion'])>0) @foreach ($result['calldetailsquestion'] as $rsVal) @if(!in_array(@$rsVal['questiondetails']['question_type'], $questype)) @php array_push($questype,@$rsVal['questiondetails']['question_type']); @endphp

{{ @$rsVal['questiondetails']['question_type'] }}

@endif @if(@$rsVal['questiondetails']['question_type']=='Greeting' || @$rsVal['questiondetails']['question_type']=='Handling Contact')

{{ $i.'.'.@$rsVal['questiondetails']['question_name'] }}

@else
    {{ $i.'.'.@$rsVal['questiondetails']['question_name'] }}
  • 1 answer==1) checked @endif disabled>
  • 2 answer==2) checked @endif disabled>
  • 3 answer==3) checked @endif disabled>
  • 4 answer==4) checked @endif disabled>
  • 5 answer==5) checked @endif disabled>
  • 6 answer==6) checked @endif disabled>
  • 7 answer==7) checked @endif disabled>
  • 8 answer==8) checked @endif disabled>
  • 9 answer==9) checked @endif disabled>
  • 10 answer==10) checked @endif disabled>
  • N/A answer==0) checked @endif disabled>
@endif @php $i++; @endphp @endforeach @endif
@if($result['calldetails']['total_percent']<70 || $result['calldetails']['fatalcall_status']==1)
Trainer assigned to:{{ @$result['calldetails']->trainer->first_name }} {{ @$result['calldetails']->trainer->last_name }}
@endif

{{ $result['calldetails']['total_percent'] }}%


Comments History:
@if($result['commentDetails']) @foreach($result['commentDetails'] as $value)
{{$value->first_name}} {{$value->last_name}} | {{$value->created_at}}
@php $conts=preg_replace("#https://([\S]+?)#Uis", '\\1', $value->comment); $ss=html_entity_decode($conts);@endphp
{!! nl2br($ss) !!}
@endforeach @endif
@endsection