×
@lang('app.edit') @lang('app.menu.leaves')
{!! Form::open(['id'=>'createLeave','class'=>'ajax-form','method'=>'PUT']) !!}
{!! Form::hidden('user_id', $user->id) !!}
@lang('modules.leaves.leaveType')
@forelse($leaveTypes as $leaveType)
leave_type_id == $leaveType->leaveType->id) selected @endif value="{{ $leaveType->leaveType->id }}">{{ ucwords($leaveType->leaveType->type_name) }}
@empty
@lang('messages.noLeaveTypeAdded')
@endforelse
@lang('app.date')
@lang('modules.leaves.reason')
{!! $leave->reason !!}
{!! Form::hidden('status', $leave->status) !!}
{!! Form::close() !!}