@extends('layouts.page') @section('title') Incharge Export @endsection @section('navs') @endsection @section('content') @include ('common.image_viewer')
{{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }} {!! Form::select('year', [''=>'- Year -']+AppHelper::options('years'), request()->year,[ 'required' => true]) !!} {!! Form::select('type', [''=>'- Type -']+$types, request()->type) !!} {!! Form::select('program[]', AppHelper::options('project_names'), request()->program, ['multiple' => true, 'id' => 'program']) !!} {!! Form::select('incharge[]', AppHelper::options('incharge_rel'), request()->incharge, ['multiple' => true, 'id' => 'incharge']) !!} {!! Form::select('zone[]', AppHelper::options('zones'), request()->zone, ['multiple' => true, 'id' => 'zone']) !!} {!! Form::select('state[]', AppHelper::options('states'), request()->state, ['multiple' => true, 'id' => 'state']) !!} {!! Form::select('special_project[]', AppHelper::options('special_projects'), request()->special_project, ['multiple' => true, 'id' => 'special_project']) !!} {!! Form::select('ss', ['without_ss' => 'Without SS+PD','with_ss' => 'With SS+PD'], request()->ss) !!} {!! Form::select('lh', ['without_lh' => 'Without LH','with_lh' => 'With LH'], request()->lh) !!} {!! Form::select('eng', ['without_eng' => 'Without Eng','with_eng' => 'With Eng'], request()->eng) !!} {{ Form::submit('Submit', ['class' => 'btn btn-primary btn-sm']) }} Reset @if (!empty($records)) Export @endif {{ Form::close() }}

Warning: Undefined variable $incharges in /var/www/html/pruthvi/resources/views/project/incharge_report.blade.php on line 54

Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /var/www/html/pruthvi/resources/views/project/incharge_report.blade.php:54 Stack trace: #0 /var/www/html/pruthvi/resources/views/project/incharge_report.blade.php(54): in_array() #1 {main} thrown in /var/www/html/pruthvi/resources/views/project/incharge_report.blade.php on line 54