LIVE

Отчеты : {{ __("month." . now()->monthName) }}


@php $i = 1; @endphp @if ($attendance_status === 0) @forelse($comeOuts as $comeOut) @if ($comeOut->employees === null) @continue @else @if(\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 1) @else @endif @isset($comeOut->employees->schedule->range_from) @if (\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 1 && $comeOut->employees->schedule->range_from >= date("H:i", strtotime($comeOut->action_time))) @elseif(\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 1 && $comeOut->employees->schedule->range_from < date("H:i", strtotime($comeOut->action_time))) @elseif(\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 2 && $comeOut->employees->schedule->range_to > date("H:i", strtotime($comeOut->action_time))) @elseif(\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 2 && $comeOut->employees->schedule->range_to <= date("H:i", strtotime($comeOut->action_time))) @endif @endisset @endif @empty @endforelse @endif @if ($attendance_status === 1) @forelse($comeOuts as $comeOut) @isset($comeOut->employees->schedule->range_from) @if (\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 1 && $comeOut->employees->schedule->range_from < date("H:i", strtotime($comeOut->action_time))) @if ($comeOut->employees === null) @continue @else @endif @endif @endisset @empty @endforelse @endif @if ($attendance_status === 2) @forelse($comeOuts as $comeOut) @isset($comeOut->employees->schedule->range_from) @if (\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 1 && $comeOut->employees->schedule->range_from >= date("H:i", strtotime($comeOut->action_time))) @if ($comeOut->employees === null) @continue @else @endif @endif @endisset @empty @endforelse @endif @if($attendance_status === 3) @foreach($comeOuts as $comeOut) @isset($comeOut->employees->schedule->range_to) @if(\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 2 && $comeOut->employees->schedule->range_to <= date("H:i", strtotime($comeOut->action_time))) @if ($comeOut->employees === null) @continue @else @endif @endif @endisset @endforeach @endif @if($attendance_status === 4) @foreach($comeOuts as $comeOut) @isset($comeOut->employees->schedule->range_to) @if(\Illuminate\Support\Facades\DB::table("door_device")->where("id", $comeOut->doors_has_device_id)->get("is_come")->pluck("is_come")[0] == 2 && $comeOut->employees->schedule->range_to > date("H:i", strtotime($comeOut->action_time))) @if ($comeOut->employees === null) @continue @else @endif @endif @endisset @endforeach @endif
# Ф.И.О График Организация Здание Подразделения Должность Вход, Выход Время Прибытия
{{ $comeOut->id }} {{ $comeOut->employees->short_full_name }} employees->schedule->name ?? 'class="text-danger"' !!}>{{ $comeOut->employees->schedule->name ?? 'Не связано график работы' }} {{ $comeOut->employees->companies->name }} {{ $comeOut->employees->branches->name }} {{ $comeOut->employees->departments->name }} {{ $comeOut->employees->positions->name }}ВходВыход{{ $comeOut->action_time }} (ВО ВРЕМЯ){{ $comeOut->action_time }} (ОПОЗДАНИЕ){{ $comeOut->action_time }} (Заранее){{ $comeOut->action_time }} (ВО ВРЕМЯ)
No Data.
{{ $comeOut->id }} {{ $comeOut->employees->short_full_name }} employees->schedule->name ?? 'class="text-danger"' !!}>{{ $comeOut->employees->schedule->name ?? 'Не связано график работы' }} {{ $comeOut->employees->companies->name }} {{ $comeOut->employees->branches->name }} {{ $comeOut->employees->departments->name }} {{ $comeOut->employees->positions->name }} Вход {{ $comeOut->action_time }} (ОПОЗДАНИЕ)
No Data.
{{ $comeOut->id }} {{ $comeOut->employees->short_full_name }} employees->schedule->name ?? 'class="text-danger"' !!}>{{ $comeOut->employees->schedule->name ?? 'Не связано график работы' }} {{ $comeOut->employees->companies->name }} {{ $comeOut->employees->branches->name }} {{ $comeOut->employees->departments->name }} {{ $comeOut->employees->positions->name }} Вход {{ $comeOut->action_time }} (ВО ВРЕМЯ)
No Data.
{{ $comeOut->id }} {{ $comeOut->employees->short_full_name }} employees->schedule->name ?? 'class="text-danger"' !!}>{{ $comeOut->employees->schedule->name ?? 'Не связано график работы' }} {{ $comeOut->employees->companies->name }} {{ $comeOut->employees->branches->name }} {{ $comeOut->employees->departments->name }} {{ $comeOut->employees->positions->name }} Выход {{ $comeOut->action_time }} (Во Время)
{{ $comeOut->id }} {{ $comeOut->employees->short_full_name }} employees->schedule->name ?? 'class="text-danger"' !!}>{{ $comeOut->employees->schedule->name ?? 'Не связано график работы' }} {{ $comeOut->employees->companies->name }} {{ $comeOut->employees->branches->name }} {{ $comeOut->employees->departments->name }} {{ $comeOut->employees->positions->name }} Выход {{ $comeOut->action_time }} (Заранее)
{{ $comeOuts->links('pagination::bootstrap-4') }}
@push("js") @endpush