@push('style') @endpush @php $search = request()->get('search') ? "true" : ""; $adSearch = (isset($search) && $search == 'true') ? '?search=true' : ''; @endphp
{{-- ✅ Badges with yellow icons and tooltip --}} {{-- Stack both icons in top-right --}} @if(in_array($ad?->featured,[1,2,3]))
@if($ad?->featured == 1) Silver @elseif($ad?->featured == 2) Gold @elseif($ad?->featured == 3 ) Premium @endif {{-- {{dd($ad->featured) }} --}}
@endif {{ $ad->slug }}
@if ($ad->category_slug && $ad->category_slug != 'jobs') @php $priceExists = $ad->price && $ad->price > 0; $isNegotiable = $ad->negotiable == '1'; @endphp @if ($priceExists || $isNegotiable)
@if ($priceExists)
{{ $setting?->currency_symbol }} {{ $ad->price }}
@endif @if ($isNegotiable) @if ($priceExists) (Negotiable) @else Negotiable @endif @endif
@endif @endif

{{ $ad?->title }}

{{ $ad?->region ?? '' }}