@extends('layouts.page')
@section('title')
Annual Indents
Edit
@endsection
@section('navs')
@endsection
@section('content')
@include ('common.flash')
{!! Form::open(['url' => route('project_term_indent.update', [$indent->name(), $indent->id])]) !!}
@csrf
{!! EasyForm::setErrors($errors) !!}
{!! EasyForm::setColSizes(2, 10) !!}
{!! EasyForm::select('project_year', $indent->label('project_year'), old('project_year', $indent->project_year), $indent->projectYearOptions())!!}
{!! EasyForm::select('zone', $indent->label('zone'), old('zone', $indent->zone), AppHelper::options('zones'))!!}
{!! EasyForm::select('entity', $indent->label('entity'), old('entity', $indent->entity), AppHelper::options('entities'))!!}
{!! EasyForm::select('term[]', $indent->label('term'), old('term', explode(',',$indent->term)), AppHelper::options($indent->name().'_terms'), ['multiple'=>true])!!}
{!! EasyForm::select('with_annual_indent', $indent->label('with_annual_indent'), old('with_annual_indent', $indent->with_annual_indent), AppHelper::options('with_annual_indent'))!!}
{!! EasyForm::submit('Next') !!}
{!! Form::close() !!}
@endsection