@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 == '지급'])>
|
{{ $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
|
@endforeach