@if(!is_null($priceValue) && $priceValue > 0) {{ number_format($priceValue, 0, ',', '.') }} {{ $listing->currency }} @else Ücretsiz @endif
{{ $listing->title }}
{{ $listing->category?->name ?: 'Kategori yok' }}
@extends('app::layouts.app') @section('content') @php $allListingsCount = isset($allListingsTotal) ? (int) $allListingsTotal : (int) $listings->total(); $resultListingsCount = isset($filteredListingsTotal) ? (int) $filteredListingsTotal : (int) $listings->total(); $activeCategoryName = $selectedCategory?->name ? trim((string) $selectedCategory->name) : ''; $pageTitle = $activeCategoryName !== '' ? 'İkinci El '.$activeCategoryName.' İlanları ve Fiyatları' : 'İkinci El Araba İlanları ve Fiyatları'; $canSaveSearch = $search !== '' || ! is_null($categoryId); $normalizeQuery = static fn ($value): bool => ! is_null($value) && $value !== ''; $baseCategoryQuery = array_filter([ 'search' => $search !== '' ? $search : null, 'country' => $countryId, 'city' => $cityId, 'min_price' => $minPriceInput !== '' ? $minPriceInput : null, 'max_price' => $maxPriceInput !== '' ? $maxPriceInput : null, 'date_filter' => $dateFilter !== 'all' ? $dateFilter : null, 'sort' => $sort !== 'smart' ? $sort : null, ], $normalizeQuery); $clearFiltersQuery = array_filter([ 'search' => $search !== '' ? $search : null, ], $normalizeQuery); @endphp
{{ $activeCategoryName !== '' ? 'İkinci El '.$activeCategoryName.' kategorisinde' : 'İkinci El Araba kategorisinde' }} {{ number_format($resultListingsCount, 0, ',', '.') }} ilan bulundu
@if(!is_null($priceValue) && $priceValue > 0) {{ number_format($priceValue, 0, ',', '.') }} {{ $listing->currency }} @else Ücretsiz @endif
{{ $listing->category?->name ?: 'Kategori yok' }}