@extends("common.layout-popup") @section("header") @endsection @section("page-title", "출석율 확인") @section("content") @php // $usedDate = $enrollment->getEnrollmentPeriod() ; $usedDate = $enrollment->productOption->refund_recognition_period ?? $enrollment->productOption->period; $attendanceDate = $enrollment->getLectureAttendanceDate() ; @endphp
| 일자 | 회차 | 강좌명 | 강의명 | 진도율 | 이어듣기 | 수강기간 | 관리 |
|---|---|---|---|---|---|---|---|
| [휴강기간] {{ $pStartDate }} ~ {{ $pEndDate }} | |||||||
| ! $isAttendance ])>{{ $date }} | @endif{{ isset($item['sort']) ? $item['sort'] : '-' }} | ($isAttendance && $item['percentage'] == 0) ]) data-date="{{ $date }}">{!! $item['courseName'] !!} | {!! $item['lectureName'] !!} | {{ $item['percentage'] }}% | {{ $item['is_acknowledged'] == 2 ? "O" : "-" }} |
@if (isset($item["dues"]))
@foreach ( $item['dues'] as $key => $due)
@php
$percent = empty($item['total_duration']) ? 0 : round($due['duration'] / $item['total_duration'] * 100);
@endphp
@endif
$due['date'] == $date ])>
{{ $key + 1 }}회차
$due['is_acknowledged'] != 1 , 'badge-success' => $due['is_acknowledged'] == 1])>[{{ $percent > 100 ? 100 : $percent }}%]
{{ $due['started_at'] }} ~ {{ $due['ended_at'] }}
({{ gmdate('G:i:s', $due['duration']) }})
@endforeach
|
@if ($item['percentage'] > 0) @endif |
| {{ $date }} | @for ($i = 0 ; $i < 7; $i ++)- | @endfor||||||