@extends('website.layouts.master') {{--@section('title') {{__('website.special_offers')}} @stop--}} @section('css') @stop @section('head') @stop @section('content')
@if($tender->images->count() != null)
@php $pImg = get_product_img_src($tender, 'large'); @endphp {{ $tender->title }}
    @php $item_images = $tender->images->count() ? $tender->images : $tender->images; if (isset($variants)) { // Remove images of current items from the variants imgs $other_images = $variants ->pluck('images') ->flatten(1) ->filter(function ($value, $key) use ($tender) { return $value->imageable_id != $tender->id; }); $item_images = $item_images->concat($other_images); } @endphp @foreach ($item_images as $img) @continue(!$img->path) @php $fImg = get_storage_file_url($img->path, 'full'); @endphp
  • Thumb
  • @endforeach
@else @endif

{{$tender->title}}

{!! Str::limit($tender->description,200) !!}

@if($tender->cateory)
@php $category_translation = $tender->category->translations->where('language_id',getLocaleId())->first(); @endphp {{__('theme.category')}}: {{$category_translation->name ?? $tender->category->name}}
@endif

{!! $tender->description !!}

@if($tender->cateory) @endif @if($tender->subscription_price) @endif
{{__('theme.title')}} {{$tender->title}}
{{__('theme.company')}} {{$tender->company}}
{{__('theme.category')}} {{$category_translation->name ?? $tender->category->name}}
{{__('theme.tender_status')}} @if($tender->paid = 1) {{__('theme.paid')}} @else {{__('theme.free')}} @endif
{{__('theme.subscription_price')}} {!! get_formated_price($tender->subscription_price, config('system_settings.decimals', 2)) !!}
{{__('theme.ad_date')}} {{$tender->ad_date}}
{{__('theme.start_date')}} {{$tender->start_date}}
{{__('theme.end_date')}} {{$tender->end_date}}
@stop @section('script') @stop