@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($sortable))@endif @if (isset($checkable))@endif @if (isset($addable)) @endif @if (isset($sortable))@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 @if (isset($optionId)) @elseif (isset($sortable)) @else @endif @if (isset($textbooks)) @foreach ($textbooks as $textbook) empty($textbook->activated)])> @if (isset($sortable)) @endif @if (isset($checkable)) @endif @if (isset($option)) @endif @endforeach @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] }}