@php $contact = $item->contact; $region = $item->region; $country = $region ? $region->country : null; $webUrl = getItemWebUrl($item->id); @endphp
{!! csrf_field() !!}
{!! Html::image(getItemCardImage($item->id, $item->images), getItemCardImageAlt($item->id, $item->images), ['class' => '']) !!}

{{$item->name}}

{!!$item->description!!}
@if($contact && $contact->contact_type === 'business') Business Ad @else Private Ad @endif {{$item->adCategory->name}} @if($item->type)
{{$item->type->name}}
@endif
  • ID{{$item->id}}
  • @if ($item->showContactInfo) @if ($contact->business_name)
  • Business Name:{{$contact->business_name}}
  • @endif @if($contact->name)
  • Contact Name:{{$contact->name}}
  • @endif
  • Contact: {{$contact->region->country->name}} > {{$contact->region->name}}
    {{$contact->city}} {{$contact->address1}} {{$contact->address2}} {{$contact->address3}} {{$contact->zip}}
    @if($contact->phone) {{$contact->phone}}
    @endif @if($contact->mobile) {{$contact->mobile}} @endif
  • @endif @if ($webUrl)
  • Web{!! Html::link($webUrl) !!}
  • @endif @if($country && $region)
  • Location: {!! Html::link(linker()->countryItems($item->ad_category, $country->name, $country->id), $country->name) !!} > {!! Html::link(linker()->countryRegionItems($item->ad_category, [ 'country' => $country->name, 'countryId' => $country->id, 'region' => $region->name, 'regionId' => $region->id ] ), $region->name) !!}
  • @endif