@extends('layouts.performance') @section('title', 'Görev Takip') @section('perf-content')
Atadığınız görevleri, cevapları ve durumları izleyin.
| Görev | Atanan Kişi | Atama Tarihi | Geçen Süre | Dosya | Detay | Durum | İşlem |
|---|---|---|---|---|---|---|---|
|
{{ $row->title ?? '-' }}
{{ $row->description ?? '-' }}
|
{{ $row->assignee_label ?? '-' }} | {{ $row->assigned_at_label ?? '-' }} | {{ $row->elapsed_label ?? '-' }} |
@php
$attachments = $row->response_attachments ?? collect();
@endphp
@if ($attachments->isNotEmpty())
@foreach ($attachments as $attachment)
@php
$fileLabel = (string) ($attachment->attachment_name ?? $attachment->attachment_path ?? '');
$ext = strtolower(pathinfo($fileLabel, PATHINFO_EXTENSION));
$icon = 'bi-file-earmark';
$iconType = 'generic';
if ($ext === 'pdf') {
$icon = 'bi-file-earmark-pdf-fill';
$iconType = 'pdf';
} elseif (in_array($ext, ['xls', 'xlsx'], true)) {
$icon = 'bi-file-earmark-excel-fill';
$iconType = 'excel';
} elseif (in_array($ext, ['doc', 'docx'], true)) {
$icon = 'bi-file-earmark-word-fill';
$iconType = 'word';
} elseif (in_array($ext, ['jpg', 'jpeg', 'png'], true)) {
$icon = 'bi-file-earmark-image-fill';
$iconType = 'image';
}
@endphp
Dosya
@endforeach
@else
-
@endif
|
@if ($responsesReady) Detay{{ $responseTotal > 0 ? ' (' . $responseTotal . ')' : '' }} @else - @endif | {{ $statusLabel }} |
@if ($status === 'in_progress' && $statusValue === 'in_progress')
|
| Kayıt bulunamadı. | |||||||