@extends('agency.layouts.app') @section('title', 'Hizmet Türleri') @section('page_title', 'Hizmet Türleri') {{-- HİZMET TÜRLERİ — acentenin satış kanalları. Etkin türler üstte; her satırda ürün / satış özeti, yönetim sayfası, satış durumları ve (kalkışa bağlı olmayan türlerde) operasyon adımları. Pasif türler için başvuru, sistemde henüz açılmamışlar için "Yakında". --}} @php $tourCodes = ['kultur-turu', 'yurtdisi-turu', 'gunubirlik-tur']; $agencyId = (int) auth()->user()->currentAgencyId(); $statusSvc = app(\App\Services\Sale\SaleStatusService::class); $sorted = $productTypes->sortBy(fn ($t) => [$t->is_active_for_agency ? 0 : ($t->is_active ? 1 : 2), $t->sort_order])->values(); $counts = [ 'all' => $productTypes->count(), 'active' => $productTypes->where('is_active_for_agency', true)->count(), 'passive' => $productTypes->filter(fn ($t) => !$t->is_active_for_agency)->count(), ]; $features = [ 'has_categories' => ['Kategoriler', 'fa-folder-tree'], 'has_pricing' => ['Fiyatlandırma', 'fa-tag'], 'has_booking' => ['Rezervasyon', 'fa-ticket'], 'has_itinerary' => ['Program', 'fa-route'], 'has_dates' => ['Tarihler', 'fa-calendar-days'], ]; @endphp @section('content')
Acentenizin satış kanalları — ürünler, satış durumları ve operasyon adımları buradan yönetilir.
Yeni hizmet türü eklemek ya da pasife almak için sistem yöneticinizle iletişime geçin.