@extends('agency.layouts.app') @section('title', 'Görev Arşivi') @section('page_title', 'Görev Arşivi') @php $breadcrumbs = [ ['title' => 'Dashboard', 'url' => route('agency.dashboard')], ['title' => 'Görevler', 'url' => route('agency.tasks.index')], ['title' => 'Arşiv', 'url' => ''], ]; $dtColumns = [ ['key' => 'title', 'label' => 'Görev', 'sortable' => false], ['key' => 'assignees', 'label' => 'Atananlar'], ['key' => 'status', 'label' => 'Durum', 'align' => 'center', 'width' => '120px'], ['key' => 'archived_at', 'label' => 'Arşivlenme', 'width' => '170px'], ['key' => 'archived_by', 'label' => 'Arşivleyen', 'width' => '160px'], ['key' => '_actions', 'label' => '', 'fixed' => true, 'align' => 'end', 'width' => '90px'], ]; @endphp @section('content')
Görevlere Dön @forelse($tasks as $task)
@if($task->is_auto) @endif {{ \Illuminate\Support\Str::limit($task->title, 70) }}
@if($task->description)
{{ \Illuminate\Support\Str::limit(strip_tags($task->description), 80) }}
@endif
@foreach($task->assignees->take(3) as $user) {{ $user->initials }}{{ $user->full_name }} @endforeach @if($task->assignees->count() > 3) +{{ $task->assignees->count() - 3 }} @endif
{{ $task->statusMeta()['label'] }} {{ $task->archived_at?->translatedFormat('d M Y, H:i') }} {{ $task->archiver?->full_name ?? '—' }}
@if($canAssign || $task->created_by === auth()->id()) @endif
@empty

Arşiv boş

Arşive alınan görevler burada listelenir.

@endforelse
@endsection @push('styles') @endpush @push('scripts') @endpush