@extends('layouts.page') @section('title') Program Report List Under Testing* @endsection @section('navs')
{{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }} @if(Auth::user()->zone()) {!! EasyForm::hidden('zone', Auth::user()->zone())!!} @else {!! Form::select('year', ['' => 'Year']+AppHelper::options('years'), request()->year) !!} {!! Form::select('entity', ['' => 'Entity']+AppHelper::options('entities'), request()->entity) !!} {!! Form::select('zone', ['' => 'Zone']+AppHelper::options('zones'), request()->zone, [ 'id' => 'zone']) !!} {!! Form::select('type', ['' => 'Type']+AppHelper::options('venuetype'), request()->type) !!} {!! Form::select('program', ['' => 'Program']+AppHelper::options('training_program_options'), request()->program) !!} {{ Form::submit('Get', ['class' => 'btn btn-outline-info btn-sm mx-2']) }} {{ Form::button('Reset', ['class' => 'btn btn-outline-info btn-sm', 'onclick' => 'clearForm(document.getElementById("idThisForm"))']) }} @endif {{ Form::close() }}
@endsection @section('content') @if (request()->entity)
@endif @foreach ($report as $k => $v) @if(in_array(request()->program, ['AL FOP','ICT TOP','ICT FOP'])) @else @endif @endforeach
S.No Program Id Program Type Project Year Zone Entity No of Projects No of Center Incharges No of Staff Attending Participants Expected Participants Attended Program Dates Location Venue Status Invitation Sent | Expected
{{ $i++ }} {{$v['program_id'] }} {{ $v['name'] }} {{ AppHelper::dropdown($v['type'], 'venuetype') }} {{ $v['project_year'] }} {{ AppHelper::dropdown($v['zone'], 'zones') }} {{ $v['entity'] }} {{ $v['no_of_participants'] }}{{ $v['projects'] }}{{ $v['no_of_participants'] - $v['projects'] }} {{ $v['attended_staff_count'] }} {{ $v['no_of_participants'] }} {{ $v['participants_attended'] }} {{ AppHelper::dates($v['from_date'] , $v['to_date']) }} @if($v['location']) {{ $v['location'] }} @else -NA- @endif @if($v['venue']) {{ $v['venue'] }} @else -NA- @endif {{ $v['fin_status'] }} {{ $v['invitations_sent'] }} | {{ $v['invitations_expected'] }}
@endsection