@extends('layouts.page') @section('navs') Back @endsection @section('content')
Comm Dashboard
{{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }} {{ Form::select('type', ['' =>'Select Type']+AppHelper::options('comm_report_types_new'), request()->type, ['required' => true]) }} {!! Form::select('date_type', ['' => 'Date Created At']+AppHelper::options('DateRange'), request()->date_type, ['class' => 'form-control1 mr-2', 'onchange'=>'updateDatesRange(this)']) !!} {!! Form::date('from_date', request()->from_date) !!} {!! Form::date('to_date', request()->to_date) !!} {!! Form::select('zone', ['' =>'Select zone']+AppHelper::options('zones'), $zone, ['id' => 'zone', 'required' => true]) !!} {!! Form::select('state', ['' =>'Select state'], $state, ['id' => 'state', 'style' => 'min-width: 100px' ]) !!} {!! \App\Helpers\EasyForm::dependentScript('state', old('state', $state), AppHelper::options('zones_states'), 'zone') !!} {!! Form::text('name', request()->name, ['placeholder' => 'Employee Name', 'style' => 'width: 120px']) !!} {!! Form::select('designation', ['' => 'Designation']+AppHelper::options('comm_ch_designations'), request()->designation, ['class' => empty(request()->designation) ? 'blank' : '','style' => 'width: 120px']) !!} {{ Form::submit('Get', ['class' => 'btn btn-theme btn-sm mx-2']) }} {{ Form::button('Reset', ['class' => 'btn btn-outline-info btn-sm', 'onclick' => 'clearForm(document.getElementById("idThisForm"))']) }} {{ Form::close() }}
@foreach ($programs as $pi => $p)
Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 43

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 44

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 45
@endforeach @foreach ($report as $eid => $count) @foreach ($programs as $p) @if($type == 'case_history')
Warning: Undefined variable $eid in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 60

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 60

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 61

Warning: Undefined variable $eid in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 62

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 62
@elseif($type == 'prayer_request')
Warning: Undefined variable $eid in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 66

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 66

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 67

Warning: Undefined variable $eid in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 68

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 68
@elseif($type == 'fri')
Warning: Undefined variable $eid in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 71

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 71

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 72

Warning: Undefined variable $eid in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 73

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 73
@endif @endforeach @endforeach @foreach ($programs as $p) @if($type == 'case_history') @elseif($type == 'prayer_request') @elseif($type == 'fri') @endif @endforeach
Sno Staff Designation{{ $p }}
{{$i++}} {{ $report[$eid]['employee'] }} {{ $report[$eid]['designation']}} {{ $valC }} {{ $valP }} {{ $valF }}
Total{{ $totals[$p]['case_history'] }}{{ $totals[$p]['prayer_request'] }}{{ $totals[$p]['fri'] }}
@foreach ($report as $k => $count) @foreach ($programs as $p) @if (isset($child[$k][$p]['case_history']))
Warning: Undefined variable $k in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 97

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 97
@foreach ($child[$k][$p]['case_history'] as $i => $record) @endforeach
Sno Project Code Zone Status Created By View
{{ $i+1 }} {{ $record->center_incharge->project->project_code }} {{ AppHelper::dropdown($record->center_incharge->project->zone, 'zones') }} {{ AppHelper::dropdown($record->status, 'case_history_workflows') }} {{ \App\User::getUserName($record->created_by) }}   {!! date('d M Y', strtotime($record->created_at)) !!} View
@endif @if (isset($child[$k][$p]['prayer_request']))
Warning: Undefined variable $k in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 126

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 126
@foreach ($child[$k][$p]['prayer_request'] as $i => $record) @endforeach
Sno Project Code Zone Status Created By View
{{ $i+1 }} {{ $record->center_incharge->project->project_code }} {{ AppHelper::dropdown($record->center_incharge->project->zone, 'zones') }} {{ AppHelper::dropdown($record->status, 'case_history_workflows') }} {{ \App\User::getUserName($record->created_by) }}   {!! date('d M Y', strtotime($record->created_at)) !!} View
@endif @if (isset($child[$k][$p]['fri']))
Warning: Undefined variable $k in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 155

Warning: Undefined variable $p in /var/www/html/pruthvi/resources/views/comm_report/dc_report.blade.php on line 155
@foreach ($child[$k][$p]['fri'] as $i => $record) @endforeach
Sno Project Code Zone Status Created By View
{{ $i+1 }} {{ $record->center_incharge->project->project_code }} {{ AppHelper::dropdown($record->center_incharge->project->zone, 'zones') }} {{ AppHelper::dropdown($record->status, 'case_history_workflows') }} {{ \App\User::getUserName($record->created_by) }}   {!! date('d M Y', strtotime($record->created_at)) !!} View
@endif @endforeach @endforeach @include ('comm_report.breakup_modal') @endsection