@include('site.controllers.upper-header') @include('site.controllers.header')

@lang('site.adDetails')

@foreach($ad->images as $image)
@endforeach
@foreach($ad->images as $image)
@endforeach
{{$ad->title}}
#{{$ad->code}}

{{$ad->city ? $ad->city->name[App::getLocale()] : "تم حذف المدينة"}}

{{\Carbon\Carbon::parse($ad->created_at)->diffForHumans()}}
{{--
--}} {{-- {{getAdFavouriteCount($ad->id)}} @lang('site.like')--}} {{--
--}} @if($ad->price_show)
{{$ad->price}} @lang('site.ryal')
@endif

{{$ad->description}}

@lang('site.contacts')
@lang('site.sendWhatsapp')

    @if(\Auth::check() && $ad->user_id == \Auth::id())
  • @endif @if(\Auth::check())
  • @endif
  • {{getAdFavouriteCount($ad->id)}}
  • @if(\Auth::check() && $ad->user_id == \Auth::user()->id)
  • @endif
  • {{--
  • --}} {{--
  • --}}
@if(\Auth::check() && \Auth::user()->id == $ad->user_id)
@endif
@foreach($ad->comments()->orderByDesc('id')->get() as $comment)
{{$comment->user->username}}
{{\Carbon\Carbon::parse($comment->created_at)->diffForHumans()}}
@if(Auth::check())
  • @lang('site.reportComment')
  • @endif

    {{$comment->comment}}


    @endforeach
    @csrf @if(\Auth::check())
    @else

    @lang('site.loginToComment')

    @endif
    @include('site.controllers.product')
    @include('site.controllers.footer')