@extends('layouts.default') @section('title','考勤汇总信息') @section('content') @include('shared._messages') @include('shared._errors')

{{ $term->term_name }} 老师上课考勤汇总


@foreach ($teachers as $key=>$t)
{{ $t->staff->englishname }}-{{ $t->staff->position_name }}
@foreach ($all_teacher_durations[$key] as $m=>$td) @if ($td != null) @if ($td[3]>0) @else @endif @endif @endforeach @if ($all_teacher_total_durations[$key][3]>0) @else @endif
月份 应排课 实际排课 实际上课 缺少课时
{{$m}} {{$td[0]}} {{$td[1]}} {{$td[2]}}{{$td[3]}}0
合计 {{$all_teacher_total_durations[$key][0]}} {{$all_teacher_total_durations[$key][1]}} {{$all_teacher_total_durations[$key][2]}}{{$all_teacher_total_durations[$key][3]}}0
@if (count($all_teacher_extra_works[$key]) != 0)
加班记录
@foreach ($all_teacher_extra_works[$key] as $atew) @if ($atew->extra_work_type == '带薪 1:1.2') @else @endif @endforeach @if (($all_teacher_total_durations[$key][3] - $all_teacher_extra_work_durations[$key])>0) @else @endif
日期 实际时长 转换时长 备注
{{ date('Y-m-d', strtotime($atew->extra_work_start_time)) }} {{ ($atew->duration)*1.0 }}{{ ($atew->duration)*1.2 }} {{$atew->extra_work_type}}抵课时{{ ($atew->duration)*1.0 }} {{$atew->extra_work_type}}抵课时
总计 {{$all_teacher_extra_work_durations[$key]}}
缺少课时 {{$all_teacher_total_durations[$key][3] - $all_teacher_extra_work_durations[$key]}}0
@endif
@endforeach @if(count($teachers)>config('page.PAGE_SIZE')) @include('shared._pagination') @endif
返回   
@stop