@for($i=1;$i<=$day_max;$i++) @endfor @for($i=1;$i<=$day_max;$i++) @endfor @if($ehr_schedule != '') @foreach($ehr_schedule as $one) @for($i=0;$i<$day_max;$i++) @endfor @endforeach @endif
日期{{$i}}
職稱 項次 姓名
{{$work_person[$count]->title}} {{$count+1}} {{$work_person[$count]->name}} @if(count($one[$i]) == 0) @endif @foreach($one[$i] as $value) @endforeach
@foreach($shifts as $one) {{$one->shift_code}}:{{$one->name}} @endforeach R:休假