@extends('layouts.auth') @section('title') {{__("words.My Ads")}} @endsection @section('content')
{{__('detail.Filter by')}} :
{{__('words.My Ads')}}
{{__("detail.Filter by")}}:

You have 25 free Ads pending out of 50

Buy Subscription

{{__("words.Offense Counter")}}: {{$seller->penalty_point }} / 50 {{__("words.(If you reach 50 violations, your account will be closed forever.)")}}

@include('category.categoryService')
@forelse ( $advertisments as $advertisment)
@php $slug = $advertisment->category_slug; @endphp
@if ($slug != 'buy') @endif

{{$advertisment->unique_id}}

{{$advertisment->title}}
@if (!empty($advertisment->car)) {{--

{{$advertisment->car->getDetails()}}

--}} @endif

{{__("words.Price")}}

{{$advertisment->price_with_currency}}

{{__("words.( Fixed Price )")}}

@if ($advertisment->isDisable())

{{__("words.Deactivate date")}}

{{!empty($advertisment->updated_at) ? date('M-d-Y ',strtotime($advertisment->updated_at)) :'Aug-30-2023'}}
@else

{{__("words.Posting date")}}

{{!empty($advertisment->published_at) ? date('M-d-Y',strtotime($advertisment->published_at)) :'Aug-30-2023'}}

{{__("words.End date")}}

{{!empty($advertisment->expire_at) ? date('M-d-Y',strtotime($advertisment->expire_at)) :'Dec-30-2023'}}
@endif

{{__("words.Status")}}