@php $imageProperties = $ad->image_properties; $altText = $imageProperties['1'] ?? $ad->title; @endphp {{ $altText }}
{{count($ad->images())}}

{{ $ad->title }}

@if($isUrgent || $isFeatured)
@if($isUrgent)
{{ __('messages.t_urgent_ad') }}
@endif @if($isFeatured)
{{ __('messages.t_featured_ad') }}
@endif
@endif @if(is_vehicle_rental_active() && has_plugin_vehicle_rental_marketplace())
{!! $ad?->mileage ? $ad?->mileage.' '.__('messages.t_mileage_prefix'). ' | ' :'' !!} {!! $ad?->fuelType?->name ? $ad?->fuelType?->name .' | ':'' !!} {{ $ad?->transmission?->name }}
@endif
@if (is_ecommerce_active())
{{ $ad?->category?->name }}
@endunless @unless ($ad?->adType?->disable_location)
{{ $ad->location_name }}
@endunless @lang('messages.t_published_on') {{ \Carbon\Carbon::parse($ad->posted_date)->translatedFormat('d/m/Y H:i') }}
@if (($ad->adType?->disable_price_type!=true || $isFavourited) && !in_array($ad->adType?->marketplace, [ONLINE_SHOP_MARKETPLACE, POINT_SYSTEM_MARKETPLACE]))
@if ($ad->adType?->disable_price_type!=true) @include('ad-templates.ad-fusion.price',[ 'value'=>config('app.currency_symbol').' '. \Number::format(floor($ad->price), locale: $paymentSettings->currency_locale), 'type_id'=>$ad->price_type_id, 'label'=>$ad->priceType->label, 'has_prefix'=>$ad?->category?->has_price_suffix, 'price_suffix'=>$ad->price_suffix, 'offer_enabled'=>$ad->isEnabledOffer(), 'offer_price'=>$ad->offer_price?config('app.currency_symbol').' '. \Number::format(floor($ad->offer_price), locale: $paymentSettings->currency_locale):null, 'offer_percentage'=>$ad->getOfferPercentage(), 'ad_type' => $ad->adType?->marketplace ]) @endif
@if($isFavourited) @else @endif
@endif @if (in_array($ad->adType?->marketplace, [ONLINE_SHOP_MARKETPLACE, POINT_SYSTEM_MARKETPLACE]))
@include('ad-templates.ad-fusion.price',[ 'value'=>config('app.currency_symbol').' '. \Number::format(floor($ad->price), locale: $paymentSettings->currency_locale), 'type_id'=>$ad->price_type_id, 'label'=> null, 'has_prefix'=> null, 'price_suffix'=> null, 'offer_enabled'=> $ad->isEnabledOffer(), 'offer_price'=>$ad->offer_price?config('app.currency_symbol').' '. \Number::format(floor($ad->offer_price), locale: $paymentSettings->currency_locale):null, 'offer_percentage'=>$ad->getOfferPercentage(), 'ad_type' => $ad->adType?->marketplace ])
@if($isFavourited) @else @endif
@endif