@extends('layouts.master') @section('title') {{ __('leave') }} @endsection @section('content')

{{ __('create') . ' ' . __('leave') }}

@csrf
{!! Form::hidden('leave_master_id', $leaveMaster->id ?? '', ['class' => 'form-control']) !!} {{-- holiday --}} {!! Form::hidden('holiday_days', $leaveMaster->holiday ?? '', ['class' => 'form-control holiday_days']) !!} {!! Form::hidden('public_holiday', $holiday ?? '', ['class' => 'form-control public_holiday']) !!}
{!! Form::text('from_date', null, [ 'required', 'id' => 'from_date', 'class' => 'form-control leave-date', 'placeholder' => __('from_date'), ]) !!}
{!! Form::text('to_date', null, [ 'required', 'id' => 'to_date', 'class' => 'form-control leave-date', 'placeholder' => __('to_date'), ]) !!}
{{ __('note') }} : {{ __('To modify an existing leave, kindly delete the old entry and submit a new request') }}.

{{ __('my') . ' ' . __('leaves') }}

{!! Form::select('session_year_id', $sessionYear, $current_session_year->id, [ 'class' => 'form-control', 'id' => 'session_year_id', ]) !!}
{!! Form::select('filter', ['All' => 'All','Today' => 'Today', 'Tomorrow' => 'Tomorrow', 'Upcoming' => 'Upcoming'], 'All', ['class' => 'form-control', 'id' => 'filter_upcoming']) !!}
{!! Form::select('month', $months, null, ['class' => 'form-control',' id' => 'filter_month_id', 'placeholder' => __('all')]) !!}
{{ __('id') }} {{ __('no.') }} {{ __('from_date') }} {{ __('to_date') }} {{ __('total') }} {{ __('reason') }} {{ __('attachments') }} {{ __('status') }} {{ __('created_at') }} {{ __('action') }}
@endsection @section('script') @endsection