@switch($type) @case($type == 'sale_status') @if($product->sale_status == '1') {{ __('New') }} @elseif($product->sale_status == '2') {{ __('Used - Open Box') }} @elseif($product->sale_status == '3') {{ __('Used - Very Good') }} @else {{ __('Used - Good') }} @endif @break @case($type == 'store_id')
store?->logo) style="height:30px;border-radius: 50%;" src="{{ asset('storage/'.$product->store?->logo) }}" @else src="{{ asset('admin/authentication.png') }}" @endif alt="{{ $product->store?->getTranslation('title',app()->getLocale()) }}" class="w-75" style="height:30px;">
{{ $product->store?->getTranslation('title',app()->getLocale()) }}
@break @case($type == 'images') {{ __('View') }} @break @case($type == 'rate')
{{ round($product->reviews?->avg('rating'),2) ?? 0 }}
@break @case($type == 'status')
status == 1) checked @endif onchange="changeStatus({{$product->id}})">
@break @case($type == 'actions')
@can('products-update') @endcan @can('products-delete') @endcan
@break @default

There is no activity

@endswitch