@extends('layouts.filter')
@section ('filter-title')
Employee LOP Statement
@endsection
@section ('filters')
{!! Form::label('lop_id', 'LOP ID') !!}
{!! Form::text('lop_id', Request::input('lop_id'), ['class' => 'form-control']) !!}
{!! Form::label('entity', 'Entity') !!}
{!! Form::select('entity', [''=>''] + AppHelper::options('hr_entities'), Request::input('entity'), ['class' => 'form-control']) !!}
{!! Form::label('month', 'Month') !!}
{!! Form::select('month', [''=>''] + AppHelper::options('hr_months'), Request::input('month'), ['class' => 'form-control']) !!}
{!! Form::label('year', 'Year') !!}
{!! Form::select('year', [''=>''] + AppHelper::options('years'), Request::input('year'), ['class' => 'form-control']) !!}
@if(Auth::user()->hasAnyDepartment(['acc']) || Auth::user()->hasAnyRole(['ad_finance']) || Auth::user()->isAdmin())
{!! Form::label('status', 'Status') !!}
{!! Form::select('status', [''=>''] + AppHelper::options('lop_workflows'), Request::input('status'), ['class' => 'form-control']) !!}
@else
{!! Form::label('status', 'Status') !!}
{!! Form::select('status', [''=>''] + AppHelper::options('dept_lop_workflows'), Request::input('status'), ['class' => 'form-control']) !!}
@endif
@endsection