@extends("domains.common.layouts.layout") @section("header") @vite([ 'resources/js/domains/common/tomSelect.js', 'resources/js/domains/common/tomSelectAllCheck.js', ]) @endsection @section("main-content")

상품 관리

-
{{ Request::get("is_accepted") === 'all' ? $products->total() : $products->count() }}
@if (Request::get("is_accepted") === 'all')
{{ $products->links("vendor.pagination.default") }}
@endif 카테고리 관리 어학원 상품 등록 인강 상품 등록
@forelse ($products as $product) @php $tmpOption = $product->productOptions->sortBy(fn ($option, $key) => $option->is_discounted ? $option->discount_price : $option->sales_price)->first(); @endphp @empty @endforelse
번호 등록 일시 서비스 상품 모듈 전시 접수 카테고리 상품명 최저 옵션가
i
할인 적용된 경우 할인가로 노출됩니다.
할인 쿠폰/
구매 혜택
{{ $product->id }} @if (isset($product->created_at)) {{ explode(" ", $product->created_at)[0] }}
{{ explode(" ", $product->created_at)[1] }} @else - @endif
{{ $product->service->name }} @if($product->is_refundable) 환급 @endif {{ $product->sales_type }} {{ $product->module->name }} {{ $product->activated == 1 ? "전시" : "비전시" }} {{ $product->is_accepted == 1 ? "오픈" : "마감" }} {{ $product->productCategories?->implode("name", ", ") ?? "-" }} {{ $product->name }}{{ $tmpOption->is_discounted ? $tmpOption->discount_price : $tmpOption->sales_price }} {{ !empty($product->productOptions->firstWhere("is_discounted", 1)) ? "포함" : "-" }} -
No data.
@endsection @push("script") @endpush