@extends('layout.main') @section('content') @if(session()->has('message'))
{!! session()->get('message') !!}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif
@foreach($lims_attendance_all as $key=>$attendance) @php $employee = \App\Employee::find($attendance->employee_id); $user = \App\User::find($attendance->user_id); @endphp @if($attendance->status) @else() @endif @endforeach
{{trans('file.date')}} {{trans('file.Employee')}} {{trans('file.CheckIn')}} {{trans('file.CheckOut')}} {{trans('file.Status')}} {{trans('file.Created By')}} {{trans('file.action')}}
{{$key}} {{ date($general_setting->date_format, strtotime($attendance->date)) }} {{ $employee->name }} {{ $attendance->checkin }} {{ $attendance->checkout }}
{{trans('file.Present')}}
{{trans('file.Late')}}
{{$user->name}}
{{ Form::open(['route' => ['attendance.destroy', $attendance->id], 'method' => 'DELETE'] ) }} {{ Form::close() }}
@endsection @push('scripts')