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

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

{!! Form::select( 'filter_day', [ 'All' => trans('All'), 'Today' => trans('today'), 'Tomorrow' => trans('tomorrow'), 'Upcoming' => trans('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') }} {{ __('updated_at') }} {{ __('action') }}
@endsection @section('script') @endsection