Detail Keluhan
Nomor Tiket
{{ $complaint['ticketNumber'] }}
Status
@php $statusText = [ 'pending' => 'Menunggu', 'process' => 'Diproses', 'done' => 'Selesai', ]; @endphp {{ $statusText[$complaint['status']] ?? $complaint['status'] }}
Kategori
@php $categoryText = [ 'hardware' => 'Hardware/Perangkat', 'software' => 'Software/Aplikasi', 'network' => 'Jaringan/Internet', 'system' => 'Sistem Absensi', 'access' => 'Akses/Login', 'general' => 'Umum', 'other' => 'Lainnya', ]; @endphp {{ $categoryText[$complaint['category']] ?? $complaint['category'] }}
Judul
{{ $complaint['title'] }}
Deskripsi
{{ $complaint['description'] }}
Urgensi
@php $priorityText = [ 'low' => 'Rendah', 'medium' => 'Sedang', 'high' => 'Tinggi', ]; @endphp {{ $priorityText[$complaint['priority']] ?? $complaint['priority'] }}
@if($complaint['location'])
Lokasi
{{ $complaint['location'] }}
@endif @if($complaint['attachment']) @endif
Tanggal Laporan
{{ \Carbon\Carbon::parse($complaint['createdAt'])->translatedFormat('d F Y, H:i') }}
@if($complaint['technician'])
Teknisi
👨‍🔧 {{ $complaint['technician'] }}
@endif @if($complaint['notes'])
Catatan Teknisi
{{ $complaint['notes'] }}
@endif @if($complaint['response'])
Respon
{{ $complaint['response'] }}
@if($complaint['responded_at'])
{{ \Carbon\Carbon::parse($complaint['responded_at'])->translatedFormat('d F Y, H:i') }}
@endif
@endif