@extends('agency.layouts.app') @section('title', 'Görevler') @section('page_title', 'Görevler') @php $breadcrumbs = [ ['title' => 'Dashboard', 'url' => route('agency.dashboard')], ['title' => 'Görevler', 'url' => ''], ]; $switcherParams = fn (string $v) => array_merge(request()->except(['view', 'page']), ['view' => $v]); @endphp @section('content')
{{-- ── Üst şerit: istatistikler + görünüm anahtarı + yeni görev ── --}}
{{-- ── Filtre çubuğu (tablo görünümü filtrelerini x-data-table taşır) ── --}} @if($view !== 'table')
@if($canViewAll)
@endif @if($view === 'calendar') @endif @if($canViewAll) @endif @if(request()->hasAny(['priority', 'assignee', 'q', 'status', 'filter']) && (request('priority') || request('assignee') || request('q') || request('status') || request('filter'))) Temizle @endif
@endif @include('agency.tasks.partials.' . $view)
@include('agency.tasks.partials.create-modal') @endsection @push('styles') @endpush @push('scripts') @endpush