@php if (isset($option)) { $textbooks = $option->textbooks ? $option->textbooks->where('service', $service) : []; $optionId = $option->id; } else if (!isset($optionId)) { $optionId = null; } @endphp @if (isset($addable))
정렬 | @endif @if (isset($checkable))@endif @if (isset($sortable)) | 번호 | 모듈 | 교재명 | 과목 | 판매구분 | 레벨 | 오디오파일 | 판매가 | @else {!! \BaseHelper::sortHead('번호', 'id', 'text-end') !!}모듈 | {!! \BaseHelper::sortHead('교재명', 'name', 'text-start') !!}과목 | 판매구분 | 레벨 | 오디오파일 | {!! \BaseHelper::sortHead('판매가', 'sales_price', 'text-end') !!} @endif등록일 | @if (isset($addable))@endif |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@endif @if (isset($checkable)) | @endif | {{ $textbook->id }} @if(isset($option)) @endif | {{ $textbook->module }} | {{ $textbook->name }} | {{ $textbook->subjects }} | {{ $textbook->sales_type }} | {{ $textbook->level }} | {{ last(explode('/', $textbook->audio_s3_key ?? '')) ?? '-' }} | {{ number_format($textbook->sales_price) }} | {{ explode(" ", $textbook?->created_at)[0] }} | @if (isset($option))@endif |