@extends('layouts.default') @section('title','老师信息') @section('content') @include('shared._messages')
{{csrf_field()}} 英文姓名      
当前学期        修改当前学期    新增学期
@if ($term_id != null) @if (count($teachers) != 0) @foreach ($teachers as $t) @endforeach
老师编号 英文名 本学期课程 累计缺课时(学期) 累计代课时(学期) 操作
{{$t->staff->id}} {{$t->staff->englishname}} @if (count($t->lessonUpdates) != 0) @foreach($t->lessonUpdates as $lu) @if ($lu->lesson->term_id == $term_id) @if ($flag) @if ($lu->day == 'Mon') {{ $lu->lesson->lesson_name }} @endif @else {{ $lu->lesson->lesson_name }} @endif @endif @endforeach @else 无 @endif @if ($t->termTotals != null) @foreach ($t->termTotals as $tt) @if ($tt->term_id == $term_id) {{ $tt->total_missing_hours }} @endif @endforeach @endif @if ($t->termTotals != null) @foreach ($t->termTotals as $tt) @if ($tt->term_id == $term_id) {{ $tt->total_substitute_hours }} @endif @endforeach @endif 查看详情 @if ($t->status == true) 关联课程
{{ method_field('PATCH') }} {{ csrf_field() }}
@else @endif
@else @include('shared._nothing') @endif @if (count($teachers)>config('page.PAGE_SIZE')) @include('shared._pagination') @endif @endif @stop