@extends('layouts.page') @section('title') Annual Statistic Attchment Create @endsection @section('navs') @endsection @section('content')
{!! Form::open(['url' => route('annual_statistic_attachment_record.save', [$annual_statistic_attachment_record->id]), 'files' => true]) !!} {!! EasyForm::setErrors($errors) !!}
@if(Auth::user()->department() == 'it') {!! EasyForm::select('entity', $annual_statistic_attachment->label('entity'), old('entity', $annual_statistic_attachment->entity), AppHelper::options('entities_projects_approved'), ['readonly' => $annual_statistic_attachment_record->id]) !!} @endif {!! EasyForm::select('fiscal_year', $annual_statistic_attachment->label('fiscal_year'), old('fiscal_year', $annual_statistic_attachment->fiscal_year), AppHelper::options('years'), ['readonly' => $annual_statistic_attachment_record->id]) !!} {!! EasyForm::textarea('comments', $annual_statistic_attachment_record->label('comments'), old('comments', $annual_statistic_attachment_record->comments))!!} @if (!$annual_statistic_attachment_record->id) Note: System will auto create Annual stats Excel while saving @endif
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection