@extends('layouts.master') @section('title','Request Leave Post') @section('action','Create') @section('main-content') @include('admin.section.flash_message') @include('admin.leaveRequest.common.breadcrumb') @include('admin.leaveRequest.common.leave_menu') @csrf Requested For* Select Employee @foreach($employees as $employee) id == auth()->user()->id) hidden @endif {{ !is_null(old('requested_by')) && old('requested_by') == $employee->id ? 'selected': '' }}> {{ $employee->name }} @endforeach Leave Type* Select Leave Type @foreach($leavetypes as $key=>$value) {{ $value }} @endforeach From Date* To Date* Reason* {{ old('reasons') }} Submit @endsection @section('scripts') @endsection