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

{{ trans('Add Form') }}

@php $keys=Session::get('fkey'); $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); if(isset($_REQUEST['date'])) { $from_date = $_REQUEST['date']; } @endphp
@if(session()->has('message'))

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

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

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

{{ session()->get('error') }}
@endif
{!! Form::open(array('url' => route('callmonitoring.store'), 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addNewLeadSources', 'enctype'=>'multipart/form-data')) !!}
{{$errors->first('supervisor') }}
{{$errors->first('date') }}
{{$errors->first('call_reference') }}
{{$errors->first('call_recording') }}
{{$errors->first('customer_no') }}
@php $i=1; $j=0;$totalques=0; @endphp @if(count((array) $result['questiondata'])>0) @foreach ($result['questiondata'] as $key => $rsVal) @foreach($rsVal as $val1) @if($key=='Greeting' || $key=='Handling Contact') @php $j+=1; @endphp @endif @php $totalques+=$i; @endphp @endforeach @endforeach @php $noqueswithoption= $totalques-$j; $optionval=90/$noqueswithoption; $eachoption=$optionval/10; @endphp @foreach ($result['questiondata'] as $key => $rsVal)

{{ $key }}

@foreach($rsVal as $val1) @if($key=='Greeting' || $key=='Handling Contact')

{{ $i.'.'.$val1->question_name }}

@else
    {{ $i.'.'.$val1->question_name }}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • N/A
@endif @php $i++; @endphp @endforeach @endforeach @endif

Is this a fatal call

  Yes   No

{{$errors->first('comment') }}

{{old('percentval')??'0'}}%

{{ trans('labels.back') }}
{!! Form::close() !!}
@endsection