| # | {{ __('admin::lang.Product') }} | @if($placement->type->value === 'product_tabs'){{ __('admin::lang.Group') }} | @endif{{ __('admin::lang.Status') }} | {{ __('admin::lang.Priority') }} | {{ __('admin::lang.Schedule') }} | {{ __('admin::lang.Actions') }} |
|---|---|---|---|---|---|---|
| {{ $content->id }} |
@if($content->product)
@if($content->product->image)
@else
Product not found
@endif
{{ $content->product->getTranslation('title', app()->getLocale()) }}
ID: {{ $content->product_id }}
|
@if($placement->type->value === 'product_tabs')
@if($content->group_key) @php $group = collect($this->groups)->firstWhere('key', $content->group_key); @endphp @if($group) {{ $group['title'][app()->getLocale()] ?? $group['title']['en'] }} @else {{ $content->group_key }} @endif @endif | @endif@switch($content->status->value) @case('active') {{ $content->status->label() }} @break @case('inactive') {{ $content->status->label() }} @break @case('scheduled') {{ $content->status->label() }} @break @case('expired') {{ $content->status->label() }} @break @endswitch | {{ $content->priority }} |
@if($content->start_date || $content->end_date)
@if($content->start_date)
{{ __('admin::lang.From') }}: {{ $content->start_date->format('Y-m-d') }}
@endif
@if($content->end_date)
{{ __('admin::lang.To') }}: {{ $content->end_date->format('Y-m-d') }}
@endif
@else
-
@endif
|
|