@extends("common.layout") @php $page_title = $pageServiceName . ' 상품 프로모션 플래그'; @endphp @section('page-title', $page_title) @section("header") {!! resource('js/common/tomSelectAllCheck.js') !!} {!! resource('js/product/activation-management.js') !!} @endsection @section("content")

{{ $page_title }}

@csrf
@csrf
{{ $products->total() }}
{!! \BaseHelper::sortHead('번호', 'id', 'text-end') !!} {!! \BaseHelper::sortHead('상품/옵션명', 'name', 'text-start') !!} {!! \BaseHelper::sortHead('등록일', 'created_at') !!} @foreach ($products as $product) @php $visible = $product->is_visible ?? null; $sellable = $product->is_sellable ?? null; $expired = $product->is_expired ?? null; @endphp empty($visible), 'provision' => $product->sales_type == '지급'])> @endforeach
상품 모듈 카테고리 GNB 할인 쿠폰 구매혜택 최저옵션가 프로모션 플래그 플래그 색상
전체 일괄 적용할 값을 선택 및 입력 후 적용할 옵션들을 목록에서 체크하여 상단의 적용 버튼 선택 시 일괄 적용 가능합니다.
@foreach ($promotionFlags as $code => $color) @endforeach
{{ $product->id }} {{ $product->name }} {{ $product->sales_type }} @if($product->is_refundable) 환급 @endif {{ $product->module }} {{ $product->productCategories?->implode("name", ", ") ?? "-" }} @if($expired) @else {!! $visible ? '' : '' !!} @endif @if (isset($product->created_at)) {{ explode(" ", $product->created_at)[0] }} @else - @endif {!! !empty($product->productOptions->firstWhere("is_discounted", 1)) ? '' : "" !!} {!! $product->has_coupon ? '':'' !!} {!! $product->has_benefitable ? '':'' !!} {{ number_format($product->min_price) }}
@foreach ($promotionFlags as $code => $color) promotion_flag == $code)> @endforeach
@endsection