×
@lang('app.edit') @lang('app.menu.leaves')
{!! Form::open(['id'=>'createLeave','class'=>'ajax-form','method'=>'PUT']) !!}
@lang('modules.messages.chooseMember')
@foreach($employees as $employee)
user_id == $employee->id) selected @endif value="{{ $employee->id }}">{{ ucwords($employee->name) }}
@endforeach
@lang('modules.leaves.leaveType')
@forelse($leaveTypes as $leaveType)
leave_type_id == $leaveType->id) selected @endif value="{{ $leaveType->id }}">{{ ucwords($leaveType->type_name) }}
@empty
@lang('messages.noLeaveTypeAdded')
@endforelse
@lang('app.date')
@lang('modules.leaves.reason')
{!! $leave->reason !!}
@lang('app.status')
status == 'approved') selected @endif value="approved">Approved
status == 'pending') selected @endif value="pending">Pending
status == 'rejected') selected @endif value="rejected">Rejected
{!! Form::close() !!}