@extends('layouts.default') @section('title','老师信息') @section('content') @include('shared._messages')
@if ($term_id != null)老师编号 | 英文名 | 本学期课程 | 累计缺课时(学期) | 累计代课时(学期) | 操作 |
---|---|---|---|---|---|
{{$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) 关联课程 @else @endif |