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