@extends('layouts.appnew')
@section('title')
New AL FOP
@endsection
@section('navs')
Back
@endsection
@section('content')
@include ('common.flash')
{!! Form::open(['url' => route('al_fop.save')]) !!}
@csrf
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::setColSizes(2, 10) !!}
{!! EasyForm::select('project_year', $al_fop->label('project_year'), old('project_year', ''), AppHelper::options('al_project_years'))!!}
{!! EasyForm::select('entity', $al_fop->label('entity'), old('entity', ''), AppHelper::options('entities'))!!}
{!! EasyForm::input('venue', $al_fop->label('venue'), old('venue', ''))!!}
{!! EasyForm::location('location', $al_fop->label('location'), old('location', ''))!!}
{!! EasyForm::input('location_latlong', $al_fop->label('location_latlong'), old('location_latlong', ''), ['readonly' => true, 'placeholder' => 'Autofill'])!!}
{!! EasyForm::select('incharge', $al_fop->label('incharge'), old('incharge', ''), UserHelper::getUsersByZone())!!}
{!! EasyForm::date('from_date', $al_fop->label('from_date'), old('from_date', ''))!!}
{!! EasyForm::date('to_date', $al_fop->label('to_date'), old('to_date', ''))!!}
{!! EasyForm::input('regular_participants', $al_fop->label('regular_participants'), old('regular_participants', ''))!!}
{!! EasyForm::input('no_of_participants', $al_fop->label('no_of_participants'), old('no_of_participants', ''))!!}
{!! EasyForm::input('participants_description', $al_fop->label('participants_description'), old('participants_description', ''))!!}
{!! EasyForm::input('semi_support_participants', $al_fop->label('semi_support_participants'), old('semi_support_participants', ''))!!}
{!! EasyForm::input('no_of_staff', $al_fop->label('no_of_staff'), old('no_of_staff', ''))!!}
{!! EasyForm::input('staff_breakup', $al_fop->label('staff_breakup'), old('staff_breakup', ''))!!}
{!! EasyForm::submit('Submit') !!}
{!! Form::close() !!}
@endsection