@extends('layouts.default') @section('title','员工信息') @section('content') @include('shared._messages')
员工英文名      
  
@foreach ($staffs as $staff) @if ($staff->lieu != null) @else @endif @endforeach
员工编号 员工姓名 英文名 所属部门 当前职位 入职日期 参加工作年数 年假小时数 剩余小时 调休小时数 剩余小时 操作
{{ $staff->id }} {{ $staff->staffname }} {{ $staff->englishname }} {{ $staff->department_name }} {{ $staff->position_name }} {{ $staff->join_company }} {{ $staff->work_year }} {{ round($staff->annual_holiday,1) }} {{ round($staff->remaining_annual_holiday,1) }}{{ round($staff->lieu->total_time,1) }} {{ round($staff->lieu->remaining_time,1) }} 详情 编辑信息 修改排班 @if ($staff->lieu == null && count($staff->extraWorks)==0 && count($staff->absences)==0 && count($staff->totalAttendances)==0 && $staff->teacher_id == null)
@else
{{ method_field('PATCH') }} {{ csrf_field() }}
@endif
@if (count($staffs)>config('page.PAGE_SIZE')) @include('shared._pagination') @endif @stop