| {{ __('admin::lang.Preview') }} | {{ __('admin::lang.Details') }} | {{ __('admin::lang.Status') }} | {{ __('admin::lang.Schedule') }} | {{ __('admin::lang.Priority') }} | {{ __('admin::lang.Actions') }} | |
|---|---|---|---|---|---|---|
|
@if(isset($item->content_type) && $item->content_type === 'product')
@php $product = $item->displayable_product; @endphp
@if($product && $product->image_path)
@foreach([
'desktop' => 'fe-monitor',
'tablet' => 'fe-tablet',
'mobile' => 'fe-smartphone',
] as $deviceKey => $icon)
@if($tabletDeviceImages[$deviceKey] ?? null)
@endif
@endforeach
|
@if(isset($item->content_type) && $item->content_type === 'product')
@php $product = $item->displayable_product; @endphp
{{ $product ? $product->title : 'N/A' }}Product ID: {{ $item->product_id }} @elseif(isset($item->content_type) && $item->content_type === 'category') @php $category = $item->displayable_category; @endphp{{ $category ? $category->title : 'N/A' }}Category ID: {{ $item->category_id }} @elseif(isset($item->content_type) && $item->content_type === 'merchant') @php $merchant = $item->displayable_merchant; @endphp{{ $merchant ? $merchant->name : 'N/A' }}Merchant ID: {{ $item->merchant_id }} @else{{ $item->name }}{{ isset($item->title) ? Str::limit($item->title, 60) : '' }} @endif |
@if($item->status->value == 'active') {{ $item->status->label() }} @elseif($item->status->value == 'scheduled') {{ $item->status->label() }} @else {{ $item->status->label() }} @endif |
@if($item->start_date)
{{ $item->start_date->format('Y-m-d') }}
@if($item->end_date)
{{ $item->end_date->format('Y-m-d') }}
@endif
|
{{ $item->priority }} |
|
{{ __('admin::lang.Add your first item to this placement') }}