@extends('layouts.app') @section('title', __('essentials::lang.leave')) @section('content')

@lang('essentials::lang.leave')

@component('components.filters', ['title' => __('report.filters')]) @if(!empty($users))
{!! Form::label('user_id_filter', __('essentials::lang.employee') . ':') !!} {!! Form::select('user_id_filter', $users, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endif
{!! Form::label('leave_type_filter', __('essentials::lang.leave_type') . ':') !!} {!! Form::select('leave_type_filter', $leave_types, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('leave_filter_date_range', __('report.date_range') . ':') !!} {!! Form::text('leave_filter_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __( 'essentials::lang.all_leaves' )]) @slot('tool')
@endslot
@lang( 'purchase.ref_no' ) @lang( 'essentials::lang.leave_type' ) @lang('essentials::lang.employee') @lang( 'lang_v1.date' ) @lang( 'essentials::lang.reason' ) @lang( 'sale.status' ) @lang( 'messages.action' )
@endcomponent
@include('essentials::leave.change_status_modal') @endsection @section('javascript') @endsection