@extends("common.layout") {{-- @section('page-title', $page_title) --}} @section("header") {!! resource('js/common/tomSelectAllCheck.js') !!} @endsection @section("content")
@endif {!! \BaseHelper::sortHead('번호', 'id', 'align-right') !!} {!! \BaseHelper::sortHead('등록일', 'created_at') !!} | 상품 | 모듈 | GNB | 판매 | 카테고리 | 상품옵션 | {!! \BaseHelper::sortHead('상품명', 'name', 'text-start') !!}최저 옵션가 | 할인 | 쿠폰 | 구매혜택 | 미리보기 | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@endif | {{ $product->id }} | @if (isset($product->created_at)) {{ explode(" ", $product->created_at)[0] }} @else - @endif | {{ $product->sales_type }} @if($product->is_refundable) 환급 @endif | {{ $product->module }} | @if ($product->is_expired) @else {!! $product->is_visible == 1 ? '' : '' !!} @endif | {{ $product->is_sellable == 1 ? "판매중" : "마감" }} | {{ $product->productCategories?->implode("name", ", ") ?? "-" }} | {{ str_replace('|', ', ', $product->option_types) }} | {{ $product->name }} | @php $tmpOption = $product->productOptions->sortBy(fn ($option, $key) => $option->is_discounted ? $option->discount_price : $option->sales_price)->first(); @endphp@if ($tmpOption) {{ $tmpOption->is_discounted ? number_format($tmpOption->discount_price) : number_format($tmpOption->sales_price) }} @endif | {!! !empty($product->productOptions->firstWhere("is_discounted", 1)) ? '' : "" !!} | {!! $product->has_coupon ? '':'' !!} | {!! $product->has_benefitable ? '':'' !!} | |
No data. |