@extends('sellers.layout.mainlayout') @section('content')
@include('sellers.layout.top_header')

{{ $ad->title }}

@if($ad->status=='expired')

{{ $ad->status }}!

@endif
{{ $aduser->name }} @if($aduser->p_mobile) 1043{{$aduser->mobile}} @endif @if($aduser->p_email) {{$aduser->email}} @endif @if($aduser->p_address) {{$aduser->address}} @endif
Category :{{ $category->category ?? '' }} / Subcategory :{{ $subcategory->subcategory ?? '' }} @if($subsubcategory && $subsubcategory->subsubcategory) / Caliber :{{ $subsubcategory->subsubcategory ?? '' }} @endif
{{-- --}}
@if ($rating >= 1) @else @endif @if ($rating >= 2) @else @endif @if ($rating >= 3) @else @endif @if ($rating >= 4) @else @endif @if ($rating >= 5) @else @endif {{ $rating }}

{{$currency}} {{$ad->price}}

@auth Report Scam @else Report Scam @endif

Description

{!! $ad->description !!}
@if($ad->additional_information!='')

Additional Information

{!! $ad->additional_information !!}
@endif

Ratings

{{ $avarage }}/5

OVERALL

@if ($avarage >= 1) @else @endif @if ($avarage >= 2) @else @endif @if ($avarage >= 3) @else @endif @if ($avarage >= 4) @else @endif @if ($avarage >= 5) @else @endif

Seller Rating

{{ $stars['star_five'] }}
{{ $stars['star_four'] }}
{{ $stars['star_three'] }}
{{ $stars['star_two'] }}
{{ $stars['star_one'] }}
{{ $stars['star_zero'] }}

Write a Review

    @foreach ($data as $review)
  • img
    {{ $review['username'] }}
    @if ($review['stars'] >= 1) @else @endif @if ($review['stars'] >= 2) @else @endif @if ($review['stars'] >= 3) @else @endif @if ($review['stars'] >= 4) @else @endif @if ($review['stars'] >= 5) @else @endif
    {{ $review['duration'] }}

    {{ $review['review'] }}

    @auth @if ($aduser->id == $viewer->id && $review['reply'] == null)
    @error('reply')

    {{ $message }}

    @enderror @endif @endauth
  • @if ($review['reply'] != null)
  • img
    {{ $review['replyer'] }}
    {{ $review['reply_duration'] }}

    {{ $review['reply'] }}

  • @endif @endforeach
@if ($total > 5) @endif
@auth @if($aduser->id != $viewer->id)
  • Leave this Seller honest feedback if you made a deal!
    @csrf @auth @endauth
    @error('review')

    {{ $message }}

    @enderror

    Rating *

    @error('stars')

    {{ $message }}

    @enderror
@else
  • Can’t post a review for your own ads.
@endif @endauth @guest
  • Login to Write Feedback About This
@endguest
@auth @if($aduser->id != $viewer->id)
@endif @endauth
@endsection