@extends("domains.common.layouts.layout") @section("header") @endsection @section("main-content")

교재 관리

  • 교재 관리
  • @if ($textbook?->id) 상세 @else 등록 @endif

교재 구분

교재 번호
{{ $textbook?->id ?? "-" }}
활성 구분
activated == 1)>
activated === 0)>
@if ($textbook?->activated === 0 && $textbook?->deactivated_at)
({{ explode(" ", $textbook->deactivated_at)[0] }})
@endif

서비스 구분
@foreach ($services as $key => $service)
id }} @checked($textbook?->service_id == $service->id)>
@endforeach

모듈
@foreach ($modules as $key => $module)
id }} @checked($textbook?->module_id == $module->id)>
@endforeach

과목
@foreach ($subjects as $key => $subject)
id, $textbook?->subjects->pluck("id")->toArray() ?? []))>
@endforeach

레벨
@foreach (App\Domains\Product\Infrastructure\Model\Textbook::LEVEL as $key => $level)
level)>
@endforeach

판매 구분
@foreach (App\Domains\Product\Infrastructure\Model\Textbook::SALES_TYPE as $key => $salesType)
sales_type)>
@endforeach

기본 정보

교재명

간략 소개
설명
오디오 파일
소비자가

판매가

썸네일

thumbnail_s3_key) src="{{ app(\S3Helper::class)->getDownloadPresignedUrl($textbook?->thumbnail_s3_key) }}" @endif >
* 파일 형식 : jpg, jpeg, png / 권장 이미지 사이즈 : 512*344
@if ($textbook?->id)

포함 강좌

@forelse ($textbook->courses as $course) @empty @endforelse
번호 등록 일시 강좌 번호 활성 구분 서비스 구분 모듈 강좌명
{{ $course->id }} @if (isset($course->created_at)) {{ explode(" ", $course->created_at)[0] }}
{{ explode(" ", $course->created_at)[1] }} @else - @endif
{{ $course->id }} {{ $course->activated == 1 ? "활성" : "비활성" }} {{ $course->service->name }} {{ $course->module->name }} {{ $course->name }}
No data.

포함 상품

@forelse ($textbook->products as $product) @empty @endforelse
번호 등록 일시 서비스 구분 상품 구분 모듈 상품명
{{ $product->id }} @if (isset($product->created_at)) {{ explode(" ", $product->created_at)[0] }}
{{ explode(" ", $product->created_at)[1] }} @else - @endif
{{ $product->service->name }} {{ $product->productType->name }} {{ $product->module->name }} {{ $product->name }}
No data.

변경 히스토리

@forelse ($textbook->getParsingLogs() as $productLog) @empty @endforelse
번호 일시 활성 구분 레벨 판매 구분 교재명 오디오 파일 판매가 담당자
{{ $productLog->row_number }} @if (isset($productLog->created_at)) {{ explode(" ", $productLog->created_at)[0] }}
{{ explode(" ", $productLog->created_at)[1] }} @else - @endif
{{ $productLog->activated == 1 ? "활성" : "비활성" }} {{ $productLog->level }} {{ $productLog->sales_type }} {{ $productLog->name }} {{ last(explode('/', $productLog?->audio_s3_key ?? '')) ?? '-' }} {{ $productLog->sales_price }} {{ $productLog->created_by }}
No data.
@endif
@endsection @push("script") @endpush