@extends('layouts.default') @section('title','员工个人考勤信息') @section('content') @include('shared._messages')
员工编号 | 员工姓名 | 英文名 | 所属部门 | 职位 |
---|---|---|---|---|
{{ $staff->id }} | {{ $staff->staffname }} | {{ $staff->englishname }} | {{ $staff->department_name }} | {{ $staff->position_name}} |
类型 | 日期 | 星期 | 应上班 | 应下班 | 实上班 | 实下班 | 迟到(分) | 早退(分) | 请假记录 | 加班记录 | 应工时 | 实工时 | 基本工时 | 是否异常 | 增补记录 | 异常备注 | 操作 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $attendance->workday_type }} | {{ $attendance->year }}/{{ $attendance->month }}/{{ $attendance->date }} | {{ $attendance->day }} | @if ($attendance->should_work_time != null){{ date("H:i", strtotime($attendance->should_work_time)) }} | @else@endif @if ($attendance->should_home_time != null) | {{ date("H:i", strtotime($attendance->should_home_time)) }} | @else@endif @if ($attendance->actual_work_time != null) | {{ date("H:i", strtotime($attendance->actual_work_time)) }} | @else@endif @if ($attendance->actual_home_time != null) | {{ date("H:i", strtotime($attendance->actual_home_time)) }} | @else@endif @if ($attendance->late_work>0) | {{ $attendance->late_work }} | @else@endif @if ($attendance->early_home>0) | {{ $attendance->early_home }} | @else@endif @if ($attendance->absence_id != null) |
{{ $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 }} |
@else
@endif @if ($attendance->extraWork != null) |
{{ $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 }} |
@else
@endif | {{ $attendance->should_duration }} | {{ $attendance->actual_duration }} | {{ $attendance->basic_duration }} | @if ($attendance->abnormal == false)否 | @else是 | @endif
@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 |
@if ($attendance->abnormalNote != null)
{{ $attendance->abnormalNote->note }} | @else@endif |
|