@extends('shared.trip-planner', ['title' => 'Gezi Planlayıcı · Genel Bakış']) @section('styles') @endsection @section('content') @php $photoUrl = static function ($place): ?string { if (!$place) return null; $cover = trim((string) ($place->manual_cover_photo_path ?? '')); if ($cover !== '') return str_starts_with($cover,'http://') || str_starts_with($cover,'https://') ? $cover : asset(ltrim($cover,'/')); $paths = collect($place->manual_photo_paths ?? [])->filter()->values(); $first = trim((string) ($paths->first() ?? '')); return $first !== '' ? (str_starts_with($first,'http://') || str_starts_with($first,'https://') ? $first : asset(ltrim($first,'/'))) : null; }; $randomPhotoUrl = static function ($place) use ($photoUrl): ?string { if (!$place) return null; $paths = collect($place->manual_photo_paths ?? [])->filter(fn ($path) => trim((string) $path) !== '')->values(); if ($paths->isNotEmpty()) { $picked = trim((string) $paths->random()); if ($picked !== '') return str_starts_with($picked,'http://') || str_starts_with($picked,'https://') ? $picked : asset(ltrim($picked,'/')); } return $photoUrl($place); }; $activePct = $stats['places_total'] > 0 ? (int) round(($stats['places_active'] / $stats['places_total']) * 100) : 0; @endphp

Gezi Planlayıcı

Noktaları, hazır rotaları, bölgeleri ve merkezi tanımları tek merkezden yönetin.

location_onAktif Nokta{{ $stats['places_active'] }} routeAktif Rota{{ $stats['routes_active'] }} mapAktif Bölge{{ $stats['regions_active'] }} sellAktif Kategori{{ $stats['categories_active'] }} tuneAktif Tanım Grubu{{ $stats['definition_groups_active'] }} check_circleAktif Seçenek{{ $stats['definition_options_active'] }}

Son Güncellenen Noktalar

En son düzenlenen gezi noktaları.

Tümünü Gör arrow_forward
@if($recentPlaces->isEmpty())
location_offHenüz gezi noktası bulunmuyor.
@else @endif

Hazır Rotalar

Yayında olan hazır rota paketleri.

Tümünü Gör arrow_forward
@if($readyRoutes->isEmpty())
routeHenüz hazır rota bulunmuyor.
@else
@foreach($readyRoutes as $route) @php $targetDay = max(1, (int) $route->days_count); $dayStops = $route->stops->filter(fn ($stop) => (int) $stop->day_number === $targetDay && $stop->place); $candidateStops = $dayStops->isNotEmpty() ? $dayStops : $route->stops->filter(fn ($stop) => (bool) $stop->place); $routeStop = $candidateStops->isNotEmpty() ? $candidateStops->random() : null; $routePhoto = $randomPhotoUrl($routeStop?->place) ?: asset('images/nfc-manager/auth-cappadocia-bg.png'); @endphp calendar_month{{ $route->days_count }} Günlük Rota location_on{{ $route->stops_count }} durakarrow_forward @endforeach
@endif

Hızlı İşlemler

Sık kullanılan yönetim aksiyonları.

@endsection