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

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

@if($is_employee_allowed)
    @if(!empty($clock_in))
@lang('essentials::lang.clocked_in_at'): {{@format_datetime($clock_in->clock_in_time)}} @endif
@endif
@component('components.filters', ['title' => __('report.filters')]) @if($is_admin)
{!! Form::label('employee_id', __('essentials::lang.employee') . ':') !!} {!! Form::select('employee_id', $employees, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endif
{!! Form::label('date_range', __('report.date_range') . ':') !!} {!! Form::text('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_attendance' )]) @if($is_admin) @slot('tool')
@endslot @endif
@if($is_admin) @endif
@lang( 'lang_v1.date' ) @lang('essentials::lang.employee') @lang('essentials::lang.clock_in_clock_out') @lang('essentials::lang.ip_address') @lang('essentials::lang.clock_in_note') @lang('essentials::lang.clock_out_note')@lang( 'messages.action' )

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

@endcomponent
@endsection @section('javascript') @endsection