@extends('layouts.page') @section('title') LOP Statement Create New Appointment @endsection @section('navs') @endsection @section('content')
{!! Form::open(['url' => route('new_employee_appointment.save', $employee_lop_statement->id), 'files' => true, 'id' => 'idForm']) !!} @csrf {!! EasyForm::setErrors($errors) !!}
{!! EasyForm::input('name', $new_employee_appointment->label('name'), old('name', '')) !!} {!! EasyForm::select('department', 'Department', $new_employee_appointment->department, AppHelper::options('departments')) !!} {!! EasyForm::date('from_date', $new_employee_appointment->label('from_date'), old('from_date', '')) !!} {!! EasyForm::textarea('reasons', $new_employee_appointment->label('reasons'), old('reasons', ''), ['rows' => 6]) !!} {!! EasyForm::file('attachment', $new_employee_appointment->label('attachment'), old('attachment','')) !!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection