@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($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 | {{ $etc->id }} @if(isset($option)) @endif | {{ $etc->etc_product_type }} | {{ $etc->name }} | {{ number_format($etc->sales_price) }} | @if (isset($option)) @php $usage = $etc->usageLimit()->where('product_option_id', $optionId)->first(); @endphp@endif |