@extends('layouts.performance') @section('title', 'Görev Düzenle') @section('perf-content')

Görev Düzenle

Görev detaylarını güncelleyin.

@if (request()->query('saved'))
Görev güncellendi.
@endif @if ($errors->any())
{{ $errors->first() }}
@endif
@csrf
Görev Bilgileri
@php $priorityValue = old('priority', $task->priority ?? 'normal'); @endphp
@if (!empty($task->attachment_path))
Mevcut dosya korunur, yeni dosya seçilirse değişir.
@endif
@php $requiredRaw = (string) ($task->required_attachment_types ?? ''); $requiredParts = array_values(array_filter(array_map('trim', explode(',', $requiredRaw)))); $hasPdf = in_array('pdf', $requiredParts, true); $hasExcel = array_intersect($requiredParts, ['xls', 'xlsx']); $hasWord = array_intersect($requiredParts, ['doc', 'docx']); $hasPhoto = array_intersect($requiredParts, ['jpg', 'jpeg', 'png']); @endphp
Seçilen türlerde dosya eklenmeden görev yanıtlanamaz.
Vazgeç
@endsection