@if($inventory->product->featuredImage) {{ trans('app.featured_image') }} @elseif($inventory->image) {{ trans('app.image') }} @else {{ trans('app.image') }} @endif
@if($inventory->product->brand) @endif @if($inventory->product->model_number) @endif
{{ trans('app.name') }}: {{ $inventory->product->name }}
{{ trans('app.brand') }}: {{ $inventory->product->brand }}
{{ trans('app.model_number') }}: {{ $inventory->product->model_number }}
{{ trans('app.status') }}: {{ ($inventory->active) ? trans('app.active') : trans('app.inactive') }}
{{ trans('app.available_from') }}: {{ $inventory->available_from->toFormattedDateString() }}
{{ trans('app.updated_at') }}: {{ $inventory->updated_at->toDayDateTimeString() }}
  • {{ trans('app.listing') }}
  • {{ trans('app.product') }}
  • {{ trans('app.description') }}
  • {{ trans('app.offer') }}
@if($inventory->sku) @endif @php $attributes = $inventory->attributes->toArray(); $attributeValues = $inventory->attributeValues->toArray(); @endphp @if(count($attributes) > 0) @foreach($attributes as $k => $attribute ) @endforeach @endif @if($inventory->condition) @endif @if($inventory->condition_note) @endif @if($inventory->product->requires_shipping) @endif @if($inventory->puchase_price) @endif @if($inventory->damaged_quantity) @endif @if($inventory->supplier) @endif @if($inventory->warehouse) @endif
{{ trans('app.sku') }}: {{ $inventory->sku }}
{{ trans('app.sale_price') }}: {{ get_formated_currency($inventory->sale_price) }}
{{ trans('app.stock_quantity') }}: {{ $inventory->stock_quantity }}
{{ trans('app.min_order_quantity') }}: {{ $inventory->min_order_quantity }}
{{ $attribute['name'] }}: {{ $attributeValues[$k]['value'] or trans('help.not_available') }}
{{ trans('app.condition') }}: {{ $inventory->condition }}
{{ trans('app.condition_note') }}: {{ $inventory->condition_note }}
{{ trans('app.shipping_weight') }}: {{ get_formated_weight($inventory->shipping_weight) }}
{{ trans('app.packagings') }}: @forelse($inventory->packagings as $packaging) @empty {{ trans('app.packaging_not_available') }} @endforelse
{{ trans('app.puchase_price') }}: {{ get_formated_currency($inventory->puchase_price) }}
{{ trans('app.damaged_quantity') }}: {{ $inventory->damaged_quantity }}
{{ trans('app.supplier') }}: {{ $inventory->supplier->name }}
{{ trans('app.warehouse') }}: {{ $inventory->warehouse->name }}
@if($inventory->product->gtin_type && $inventory->product->gtin ) @endif @if($inventory->product->mpn) @endif @if($inventory->product->manufacturer) @endif @if($inventory->product->origin) @endif @if($inventory->product->min_price && $inventory->product->min_price > 0) @endif @if($inventory->product->max_price && $inventory->product->max_price > 0) @endif
{{ trans('app.name') }}: {{ $inventory->product->name }}
{{ trans('app.categories') }}: @foreach($inventory->product->categories as $category) {{ $category->name }} @endforeach
{{ $inventory->product->gtin_type }}: {{ $inventory->product->gtin }}
{{ trans('app.mpn') }}: {{ $inventory->product->mpn }}
{{ trans('app.manufacturer') }}: {{ $inventory->product->manufacturer->name }}
{{ trans('app.origin') }}: {{ $inventory->product->origin->name }}
{{ trans('app.has_variant') }}: {{ $inventory->product->has_variant ? trans('app.yes') : trans('app.no') }}
{{ trans('app.downloadable') }}: {{ $inventory->product->downloadable ? trans('app.yes') : trans('app.no') }}
{{ trans('app.requires_shipping') }}: {{ $inventory->product->requires_shipping ? trans('app.yes') : trans('app.no') }}
{{ trans('app.min_price') }}: {{ get_formated_currency($inventory->product->min_price) }}
{{ trans('app.max_price') }}: {{ get_formated_currency($inventory->product->max_price) }}
{{ trans('app.description') }}: {!! htmlspecialchars_decode($inventory->product->description) !!}
@if($inventory->description) {!! $inventory->description !!} @else

{{ trans('app.description_not_available') }}

@endif
@if($inventory->offer_price && $inventory->offer_price > 0) @else @endif @if($inventory->offer_start) @endif @if($inventory->offer_end) @endif
{{ trans('app.offer_price') }}: {{ get_formated_currency($inventory->offer_price) }}
{{ trans('app.no_offer_available') }}
{{ trans('app.offer_start') }}: {{ $inventory->offer_start->toDayDateTimeString() .' - '. $inventory->offer_start->diffForHumans() }}
{{ trans('app.offer_end') }}: {{ $inventory->offer_end->toDayDateTimeString() .' - '. $inventory->offer_end->diffForHumans() }}