@extends('hr_main') @section('title', '| Salary Certificate') @section('content')

Salary Certificate

{!! Form::open([ 'url' => '#', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'filterFormId', 'method' => 'get', ]) !!}
{!! Form::label('branch', 'Branch', ['class' => 'control-label']) !!} {!! Form::select('branch_id', $branches, null, [ 'class' => 'form-control select2', 'id' => 'branch', 'name' => 'branch_id', 'required' => 'required', ]) !!}
{!! Form::label('employee', 'Employee', ['class' => 'control-label']) !!} {!! Form::select('employeeId', ['' => 'Select'], null, [ 'class' => 'form-control select2', 'id' => 'employeeId', 'name' => 'employeeId', ]) !!}

{{ $errors->error->first('employeeId') }}

{!! Form::label('year', 'Year', ['class' => 'control-label']) !!} {!! Form::select('year', $years, null, [ 'class' => 'form-control select2', 'id' => 'year', 'name' => 'year', ]) !!}
{!! Form::label('month', 'Month', ['class' => 'control-label']) !!} {!! Form::select('month', $months, (int) date('m'), [ 'class' => 'form-control select2', 'id' => 'month', 'name' => 'month', ]) !!}
{!! Form::label('getFrom', 'Get From', ['class' => 'control-label']) !!} {!! Form::select('getFrom', $getFroms, null, [ 'class' => 'form-control select2', 'id' => 'getFrom', 'name' => 'getFrom', ]) !!}
{!! Form::close() !!}
@endsection