@extends('front.layouts.master') @push('css_before') @endpush @section('content') {{ TranslationHelper::translate('back', 'site') }} {{ $show_ad->city->name }} / {{ $show_ad->region->name }} / {{ $show_ad->category->name }} / {{ $show_ad->subCategory->name }} / {{ $show_ad->title }} شارك الإعلان @if (Auth::guard('end-user')->check() && auth('end-user')->user()->favorites()->where('ad_id', $show_ad->id)->exists()) ازاله من المفضلة @else أضف إلى المفضلة @endif {{-- @php $lang =app()->getLocale(); $tanslate =new GoogleTranslate($lang); @endphp --}} @if (session()->has('success')) {{ session()->get('success') }} @endif @if (session()->has('error')) {{ session()->get('error') }} @endif {{ $show_ad->title }} {{ TranslationHelper::translate('Published On', 'site') }} : {{ $show_ad->getCreatedAt() }} getLocale() == 'ar') style="direction: ltr !important" @endif> @if ($show_ad->media()->count() > 0) @foreach ($show_ad->media as $media) @endforeach @else @foreach ($show_ad->images as $iamge) @endforeach @endif {{ TranslationHelper::translate('detiles', 'site') }} @foreach ($show_ad->adAttributes as $attribute) {{ $attribute->Attribute->name }} : {{ $attribute->option->options }} @endforeach {{ TranslationHelper::translate('Description', 'site') }} {{ $show_ad->description }} {{ TranslationHelper::translate('Location', 'site') }} {{ $show_ad->location }} {{ number_format($show_ad->price, 0, '.', ',') }} {{ $currency }} {{ $show_ad->city->name }} {{ $show_ad->user?->stores && $show_ad->user->hasActiveStore() ? $show_ad->user->stores->name : $show_ad->user?->name }} @if ($show_ad->user?->stores && $show_ad->user->hasActiveStore()) @endif {{ TranslationHelper::translate('Contact Details', 'site') }} @if (auth('end-user')->check()) @if ($show_ad->user?->stores && $show_ad->user->hasActiveStore()) @else @endif @if ($show_ad->user?->stores && $show_ad->user->hasActiveStore()) @else @endif @if ($show_ad->email) @endif @else
{{ $attribute->Attribute->name }} : {{ $attribute->option->options }}
{{ $show_ad->description }}