{!! Form::open(['url' => route('employee_accommodation.save', $claim->id), 'files' => true]) !!}
@csrf
{!! EasyForm::setErrors(($errors->has('employee_accommodation')) ? $errors : []) !!}
{!! EasyForm::setNoRows() !!}
{!! EasyForm::setColSizes(2, 4) !!}
{!! EasyForm::input('hotel', $employee_accommodation->label('hotel'), old('hotel', ''))!!}
{!! EasyForm::input('place', $employee_accommodation->label('place'), old('place', ''))!!}
{!! EasyForm::select('place_type', $employee_accommodation->label('place_type'), old('place_type', ''), AppHelper::options('accommodation_place_types'))!!}
{!! EasyForm::input('amount', $employee_accommodation->label('amount'), old('amount', ''))!!}
{!! EasyForm::date('check_in', $employee_accommodation->label('check_in'), old('check_in', ''), ['min' => $employee_plan->from_date, 'max' => $employee_plan->to_date])!!}
{!! EasyForm::date('check_out', $employee_accommodation->label('check_out'), old('check_out', ''), ['min' => $employee_plan->from_date, 'max' => $employee_plan->to_date])!!}
{!! EasyForm::input('no_of_days', $employee_accommodation->label('no_of_days'), old('no_of_days', ''))!!}
{!! EasyForm::file('bill', $employee_accommodation->label('bill'), old('bill', ''))!!}
{!! EasyForm::input('description', $employee_accommodation->label('description'), old('description', ''))!!}
@if ($errors->has('exception_comments') || old('exception_comments'))
{!! EasyForm::input('exception_comments', $employee_accommodation->label('exception_comments'), old('exception_comments', ''))!!}
@endif