@extends('layouts.admin') @section('title') Ads @endsection @section('content') @push('page_style') @endpush @if (!empty($advertismentObject->business) || !empty($advertismentObject->crypto || !empty($advertismentObject->jobs || !empty($advertismentObject->services)))) @php $slug = $advertismentObject->lastCategory()->first()->getCategory->slug; @endphp @elseif (!empty($advertismentObject->property) || !empty($advertismentObject->boat) || !empty($advertismentObject->car) || !empty($advertismentObject->caravans) || !empty($advertismentObject->electronic) || !empty($advertismentObject->sports)) @php $slug = $advertismentObject->getAdvertismentCategory()->get()->offsetGet(1)->getCategory->slug; @endphp @else @php $slug = 'sale'; @endphp @endif
@if (auth()->user()->isModerator() && !empty($advertismentObject->reports_pending_count))
@foreach ($advertismentObject->reportsPending as $report)
Report ID :
{{$report->report_id}}
Reason :
{{$report->getReason()}}
Comment :
{{!empty($report->comment) ? $report->comment :'N/A'}}
@endforeach
Ad post by

{{$advertismentObject->getCreatedBy->full_name}}

@endif

{{!empty($advertismentObject->title) ? $advertismentObject->title :''}}

@if ($slug == 'sale')
@endif
@if($advertismentObject->state_id==App\Models\Report::STATUS_REPORTED && (auth()->user()!=isModerator())) Approve Reject @endif Go Back

{{$advertismentObject->price_with_currency}}
(Fixed Price )

    @if (!empty($advertismentObject->business) || !empty($advertismentObject->crypto || !empty($advertismentObject->jobs) || !empty($advertismentObject->services))) @php $slug = ($advertismentObject->lastCategory()->first()->getCategory->slug == 'sale')? "Accept:" : "Pay With:" ; @endphp
    {{$slug}}
    @elseif (!empty($advertismentObject->property) || !empty($advertismentObject->boat) || !empty($advertismentObject->car)) @php $slug = ($advertismentObject->getAdvertismentCategory()->get()->offsetGet(1)->getCategory->slug == 'sale') ? "Accept:" : "Pay With:" ; @endphp
    {{ $slug }}
    @else
    Accept
    @endif @foreach ($advertismentObject->cryptoPayment as $method)
  • @if (!empty($method->payment->image)) @else {{ $method->payment->title }} @endif
  • @endforeach
    {{!empty($advertismentObject->is_accept_fiat) ? 'Fiat Money': '' }}
@if($advertismentObject->is_approved != \App\Models\Advertisment::IS_APPROVED && $advertismentObject->is_approved != \App\Models\Advertisment::REJECTED )
@endif

{{$advertismentObject->unique_id}}

@if(!empty($advertismentObject->car)) @include('advertisment.partials.cars.carDetail') @endif @if (!empty($advertismentObject->property)) @include('advertisment.partials.property.detail') @endif @if (!empty($advertismentObject->boat)) @include('advertisment.partials.boats.detail') @endif

Overview

@if(!empty($advertismentObject->car))
...

Owner

{{$advertismentObject->car->getOwner()}}

@endif @if (!empty($advertismentObject->business)) @include('advertisment.partials.business.tag') @endif @if (!empty($advertismentObject->crypto)) @include('advertisment.partials.crypto.tag') @endif @if (!empty($advertismentObject->property)) @include('advertisment.partials.property.tag') @endif @if (!empty($advertismentObject->car)) @include('advertisment.partials.cars.tag') @endif @if (!empty($advertismentObject->boat)) @include('advertisment.partials.boats.tag') @endif @if (!empty($advertismentObject->caravans)) @include('advertisment.partials.caravans.tag') @endif @if (!empty($advertismentObject->electronic)) @include('advertisment.partials.electronics.tag') @endif @if (!empty($advertismentObject->sports)) @include('advertisment.partials.sportsActivities.tag') @endif
...

Location

{{$advertismentObject->getAdvertismentAddress()}}

...

Posting date

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

Description

@if (!empty($advertismentObject->property)) @include('advertisment.partials.property.keywords') @endif @if(!empty($advertismentObject->sports)) @include('advertisment.partials.sportsActivities.keywords') @endif @if (!empty($advertismentObject->property)) @include('advertisment.partials.property.moreoptions') @endif @if(!empty($advertismentObject->electronic)) @include('advertisment.partials.electronics.keywords') @endif @if(!empty($advertismentObject->car)) @include('advertisment.partials.cars.feature') @endif @if(!empty($advertismentObject->carVehicles)) @include('advertisment.partials.cars-vehicles.feature') @endif @if (!empty($advertismentObject->boat)) @include('advertisment.partials.boats.feature') @endif
@if (!empty($advertismentObject->property)) @include('advertisment.partials.property.keywords') @endif @if (!empty($advertismentObject->property)) @include('advertisment.partials.property.moreoptions') @endif
@if (auth()->user()->isModerator() && !empty($advertismentObject->reports_pending_count)) @endif @endsection @push('page_script') @endpush