@extends('layouts.default') @section('title','员工个人考勤信息') @section('content') @include('shared._messages')

员工个人考勤信息

员工编号 员工姓名 英文名 所属部门 职位
{{ $staff->id }} {{ $staff->staffname }} {{ $staff->englishname }} {{ $staff->department_name }} {{ $staff->position_name}}
@foreach ($attendances as $attendance) @if ($attendance->should_work_time != null) @else @endif @if ($attendance->should_home_time != null) @else @endif @if ($attendance->actual_work_time != null) @else @endif @if ($attendance->actual_home_time != null) @else @endif @if ($attendance->late_work>0) @else @endif @if ($attendance->early_home>0) @else @endif @if ($attendance->absence_id != null) @else @endif @if ($attendance->extraWork != null) @else @endif @if ($attendance->abnormal == false) @else @endif @if ($attendance->abnormalNote != null) @else @endif @endforeach
类型 日期 星期 应上班 应下班 实上班 实下班 迟到(分) 早退(分) 请假记录 加班记录 应工时 实工时 基本工时 是否异常 增补记录 异常备注 操作
{{ $attendance->workday_type }} {{ $attendance->year }}/{{ $attendance->month }}/{{ $attendance->date }} {{ $attendance->day }}{{ date("H:i", strtotime($attendance->should_work_time)) }}{{ date("H:i", strtotime($attendance->should_home_time)) }}{{ date("H:i", strtotime($attendance->actual_work_time)) }}{{ date("H:i", strtotime($attendance->actual_home_time)) }}{{ $attendance->late_work }}{{ $attendance->early_home }} {{ $attendance->absence_type }}, @if ($attendance->absence->approve) 批准 @else 未批准 @endif
{{ date("Y-m-d H:i", strtotime($attendance->absence->absence_start_time)) }}~{{ date("Y-m-d H:i", strtotime($attendance->absence->absence_end_time)) }}
时长:{{ $attendance->absence_duration }}
{{ $attendance->extraWork->extra_work_type }}, @if ($attendance->extraWork->approve) 批准 @else 未批准 @endif
{{ date("H:i", strtotime($attendance->extraWork->extra_work_start_time)) }}~{{ date("H:i", strtotime($attendance->extraWork->extra_work_end_time)) }}
时长:{{ $attendance->extraWork->duration }}
{{ $attendance->should_duration }} {{ $attendance->actual_duration }} {{ $attendance->basic_duration }} @foreach ($attendance->addTimes as $at) {{$at->reason}},
{{date('H:i', strtotime($at->add_start_time))}}~{{date('H:i', strtotime($at->add_end_time))}},
时长:{{$at->duration}}.
@endforeach
{{ $attendance->abnormalNote->note }}
{{ csrf_field() }}
返回考勤汇总 返回查询界面
@stop