@php if (isset($option)) { $etcProducts = $option->etcProducts ? $option->etcProducts->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($etcProducts)) @foreach ($etcProducts as $etc) empty($etc->activated)])> @if (isset($sortable)) @endif @if (isset($checkable)) @endif @if (isset($option)) @php $usage = $etc->usageLimit()->where('product_option_id', $optionId)->first(); @endphp @endif @endforeach @endif
정렬번호 항목구분 항목명 판매가항목구분이용횟수 미이용 차감일
{{ $etc->id }} @if(isset($option)) @endif {{ $etc->etc_product_type }} {{ $etc->name }} {{ number_format($etc->sales_price) }}