JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Attendance') }} @endsection @section('breadcrumb') @endsection @php $company_settings = Utility::settings(); $attendance_count = count($attendances); @endphp @section('content')
@if (empty($token))

{{ __('Please first generate auth token') }}

@endif
{{ Form::open(['route' => ['biometric-attendance.index'], 'method' => 'get', 'id' => 'attendance_filter']) }}
{{ Form::label('start_date', __('Start Date'), ['class' => 'form-label']) }} {!! Form::date( 'start_date', isset($_GET['start_date']) ? $_GET['start_date'] : date('Y-m-d', strtotime('-7 days')), [ 'class' => 'form-control ', 'placeholder' => 'Select Start Date', 'id' => 'start_date', ], ) !!}
{{ Form::label('end_date', __('End Date'), ['class' => 'form-label']) }} {!! Form::date('end_date', isset($_GET['end_date']) ? $_GET['end_date'] : date('Y-m-d'), [ 'class' => 'form-control ', 'placeholder' => 'Select End Date', 'id' => 'end_date', ]) !!}
@if ($attendance_count > 0) @endif
{{ Form::close() }}
@if (Gate::check('Biometric Attendance Synchronize')) @endif @foreach ($attendances as $attendance) @endforeach
{{ __('Id') }} {{ __('Employee Code') }} {{ __('Name') }} {{ __('Time') }}{{ __('Action') }}
{{ !empty($attendance['id']) ? $attendance['id'] : '' }} {{ !empty($attendance['emp_code']) ? $attendance['emp_code'] : '' }} {{ !empty($attendance['first_name']) ? $attendance['first_name'] : '' }} {{ \Auth::user()->DateTimeFormat($attendance['punch_time']) }} @if (Gate::check('Biometric Attendance Synchronize'))
@csrf @method('PUT')
@endif
@endsection @push('scripts') @endpush