@extends('admin.layouts.leadManagement') @section('title') Attendance @endsection @section('style') @endsection @section('content') @php @$attendance_edit = userCan('attendance.update'); @$attendance_delete = userCan('attendance.delete'); @endphp {{-- --}} {{-- --}} {{-- --}}

Attendance({{ @$attendance_count }})

{{--

Active: --
Active Leads.
Ignore Leads: --
Leads that are not connected from past 7 days.
Not Followed: --
New assigned leads on which you have not marked any follow-up yet.
TAT Crossed: --
TAT (Turnaround Time) crossed the deadline.
@php $ltstartDate = date('m/d/Y', strtotime('-30 days')); $ltendDate = date('m/d/Y'); $levelAssessmentTestDateRange = urldecode($ltstartDate . ' - ' . $ltendDate); @endphp
Test Start: --
Filtering records for Level Assessment Test started within the last 30 days from the attempted date.

--}}
{{-- --}}

@if (userCan('attendance.create')) Create @endif

{{--
--}}
--}}
@if (count(request()->all()) > 0) Clear All @endif {{-- --}}
{{-- {{dd(checkleadManagerEnvRole())}} --}}
@if (@$attendance_edit) @endif @if ($attendances->count() > 0) @foreach ($attendances as $attendance) {{-- --}} @if (@$attendance_edit) @endif @endforeach @else @endif
Attendance Id User Name Date Attend/Not AttendAction
{{ @$attendance['id'] }} {{ @$attendance['name'] }} {{ @$attendance['last_name'] }} ({{ @$attendance['user_id'] }}) @if (isset($attendance['class_date'])) {{ dateMonthFormat($attendance['class_date']) }} @endif @if (@$attendance['attend'] == '1') Attend @else Not Attend @endif
{{ __('no_data_found') }}
{{-- @if ($attendances->count()) --}}
{{ $attendances->onEachSide(1)->links() }}
{{-- @endif --}}
cross

Timeline

timeline
@endsection @section('script') @endsection