@extends('layouts.page') @section('title') EDIT Employee Resignation @endsection @section('navs') View All @endsection @section('content')
@include ('common.flash')
{!! Form::open(['url' => route('employee_resignation.update', [$employee_resignation->id]), 'id' => 'idForm', 'files' => true]) !!} @csrf {!! EasyForm::setErrors($errors) !!}
{{$employee_resignation->label('employee_resignation_label')}} {!! EasyForm::textarea('reasons', $employee_resignation->label('reasons'), old('reasons', $employee_resignation->reasons)) !!} {!! EasyForm::textarea('remarks', $employee_resignation->label('remarks'), old('remarks', $employee_resignation->remarks)) !!} {!! EasyForm::input('date_of_exit', $employee_resignation->label('date_of_exit'), old('date_of_exit', AppHelper::date($employee_resignation->created_at)), ['readonly' => true])!!} {!! EasyForm::file('attachment_1', $employee_resignation->label('Attachment'), old('attachment_1', $employee_resignation->attachment_1))!!} @if (Auth::user()->hasAnyDepartment(['hrd'])|| (Auth::user()->isAdmin())) {!! EasyForm::date('last_working', $employee_resignation->label('last_working'), old('last_working', $employee_resignation->last_working)) !!} @endif
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection