JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Bulk Attendance') }} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-button') @endsection @section('content')
{{ Form::open(['route' => ['attendanceemployee.bulkattendance'], 'method' => 'get', 'id' => 'bulkattendance_filter']) }}
{{ Form::label('date', __('Date'), ['class' => 'form-label']) }} {{ Form::text('date', isset($_GET['date']) ? $_GET['date'] : date('Y-m-d'), ['class' => 'month-btn form-control d_week ', 'autocomplete' => 'off']) }}
{{ Form::label('branch', __('branch'), ['class' => 'form-label']) }} {{ Form::select('branch', $branch, isset($_GET['branch']) ? $_GET['branch'] : '', ['class' => 'form-control select branch_id', 'id' => 'branch_id']) }}
{{ Form::label('department', __('department'), ['class' => 'form-label']) }} {{ Form::select('department', $department, isset($_GET['department']) ? $_GET['department'] : '', ['class' => 'form-control select department_id', 'id' => 'department_id']) }}
{{ Form::close() }}
{{ Form::open(['route' => ['attendanceemployee.bulkattendance'], 'method' => 'post']) }}
@foreach ($employees as $employee) @php $attendance = $employee->present_status($employee->id, isset($_GET['date']) ? $_GET['date'] : date('Y-m-d')); @endphp @endforeach
{{ __('Employee Id') }} {{ __('Employee') }} {{ __('Branch') }} {{ __('Department') }}
{{ \Auth::user()->employeeIdFormat($employee->employee_id) }} {{ $employee->name }} {{ !empty($employee->branch) ? $employee->branch->name : '' }} {{ !empty($employee->department) ? $employee->department->name : '' }}
status == 'Present' ? 'checked' : '' }}>
{{ Form::submit(__('Update'), ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@endsection @push('script-page') @endpush