@extends("common.layout") @php $page_title = $pageServiceName . ' 강의 ' . ($lecture?->id ? '상세보기 ('.$lecture->id.')' : '등록'); @endphp @section('page-title', $page_title) @section("header") {!! resource('css/form.css') !!} {!! resource('js/form.js') !!} @endsection @section("content")
@csrf

{{ $page_title }}
@if ($lecture?->id) @if ($User->is->root) @endif @endif

강의 구분
{{--강의 번호--}} @if ($lecture?->id)
{{ $lecture?->id }}
@endif
{{--활성 구분--}}
activated == 1)>
{{--모듈--}}
@php if (isset($lecture->module)) $modules = explode('|', $lecture->module); else $modules = []; @endphp @foreach (config('system.modules') as $key => $module)
@endforeach
@if($service == 'ielts')
@if (isset($lecture->attachments[0]) && ! empty($lecture->attachments)) @php $asset = $lecture->attachments[0]; @endphp {{ $asset->name .'.'. $asset->extension }} @endif
@endif
영상관리 영상{{ $lecture ? "변경" : "선택" }} 이동
@php $video = isset($lecture->video) ? $lecture->video : null; @endphp
{{--영상 번호--}}
{{ $video?->id }}
{{ $video?->name }}
{{ $video?->teacher?->name }}
{{--과목--}}
{{ $video?->subject ? config('system.subjects')[$video?->subject]:'' }}
{{ $video?->media_key }}
@if($service == 'ielts')
{{ $video?->upload_file_key }}
@endif
{{ $video?->name }}
@if($lecture)
포함 강좌
@foreach ($lecture->courses as $course) @endforeach
번호 강좌명 모듈 활성 등록일
{{ $course->id }} {{ $course->name }} {{ $course->module }} {{ $course->activated ? 'Y':'' }} {{ explode(" ", $course->created_at)[0] }}
포함 상품
@foreach ($lecture->getIncludedProducts()->all() as $product) @endforeach
번호 상품명 모듈 판매중 등록일
{{ $product->id }} {{ $product->name }} {{ $product->module }} {{ $product->is_sellable ? 'Y':'' }} {{ explode(" ", $product->created_at)[0] }}
변경 로그
@if($service == 'ielts') @endif @foreach ($lecture->getParsingLogs() as $log) @if($service == 'ielts') @endif @endforeach
번호 일시 활성 구분 모듈 강의명 강의영상pdf담당자 자세히 보기
{{ $log->id }} @if (isset($log->created_at)) {{ $log->created_at }} @else - @endif @if ($log->activated == 1) 활성 @else 비활성 @endif {{ $log->module }} {{ $log->name }} {{ $log->video->name }} {{ $log->asset->name.'.'.$log->asset->extension; }} {{ $log->created_by }}
@endif @endsection @push("script") @endpush