@if(session()->has('message'))
                                            
                                                
                                                
                                            @endif
                                            @if(session()->has('error'))
                                            
                                                
                                                
                                            @endif
                                        
                                        {{ trans('labels.Successlabel') }}
{{ session()->get('message') }}{{ trans('labels.WarningLabel') }}
{{ session()->get('error') }}
                                            {!! Form::open(array('url' => route('callmonitoring.store'),
                                            'method'=>'post', 'class' => 'form-horizontal', 'id' => 'addNewLeadSources',
                                            'enctype'=>'multipart/form-data')) !!}
                                            
                                                
                                                    
                                                    
                                                
                                                
                                            
                                                
                                            @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)
                                            
                                                
                                                    
                                            
                                            @foreach($rsVal as $val1)
                                            
                                            @if($key=='Greeting' || $key=='Handling Contact')
                                            
                                                
                                                    
                                                
                                                    
                                                
                                            
                                            @else
                                            
                                                
                                                    
                                            
                                            @endif
                                            @php $i++; @endphp
                                            @endforeach
                                            @endforeach
                                            @endif
                                            
                                                
                                                    
                                                        
                                                    
                                                        
                                                        
                                                    
                                                
                                            
                                            
                                                
                                                
                                            
                                            {!! Form::close() !!}
                                        
                                    
                                                    
                                                    
                                                    {{$errors->first('supervisor') }}
                                                
                                                
                                                    
                                                    
                                                    {{$errors->first('date') }}
                                                
                                            
                                                    
                                                    
                                                    {{$errors->first('call_reference') }}
                                                
                                                
                                                    
                                                    
                                                    {{$errors->first('call_recording') }}
                                                
                                                
                                                    
                                                    
                                                    {{$errors->first('customer_no') }}
                                                
                                            {{ $key }}
{{ $i.'.'.$val1->question_name }}
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- N/A
{{ $i.'.'.$val1->question_name }}
Is this a fatal call
                                                         
                                                        Yes
                                                        
                                                         
                                                        No
                                                    
                                                    {{$errors->first('comment') }}