@lang('categories')
    @if($categories = getParentCatagories()) @foreach($categories as $category)
  • {{ $category->name }} @if($childs = $category->childs()->get()) @endif
  • @endforeach @endif
@if(isset($advertisements) && count($advertisements)) @foreach($advertisements as $advertisement)
{{ @$advertisement->subject }}

{{ @$advertisement->description }}

@endforeach @endif
@if($posts->count())
@foreach($posts as $post)

@lang('wanted') : {{ $post->subject }}

  • {{ convertFromDateToFormat($post->created_at , 'Y-m-d') }}
  • {!! @$post->user->country->svg !!} @lang('buyer_from') {{ @$post->user->country->name }}
  • @lang('inquire_now')
  • @php $isFavorite = isFavorite($post); @endphp
  • @lang('add_to_favorites')

{{ @$post->requirements }}

@endforeach
@endif
@if(isset($products) && $products->count())
@foreach($products as $product)

{{ $product->name }}

  • {{ convertFromDateToFormat($product->created_at , 'Y-m-d') }}
  • {!! @$product->user->country->svg !!} @lang('supplier_from') {{ @$product->user->country->name }}
  • @lang('inquire_now')
  • @php $isFavorite = isFavorite($product); @endphp
  • @lang('add_to_favorites')

{{ @$product->description }}

@endforeach
@endif