@extends('layouts.app') @section('title', 'Prioritas Keluhan') @section('content')
Prioritas Penanganan Keluhan (Metode SMART)
Kembali Refresh
@foreach($complaints as $item) @php $complaint = $item['complaint']; @endphp @endforeach
# Pelanggan Kategori Deskripsi Jarak (km) Estimasi Waktu (jam) Skor SMART Rekomendasi
{{ $loop->iteration }} {{ $complaint->customer->name }} {{ $complaint->category->name }} {{ Str::limit($complaint->description, 50) }} {{ round($item['distance'], 1) }} {{ $item['estimated_time'] }}
{{ number_format($complaint->priority_score, 2) }}
{{ $item['priority_recommendation'] }}
@endsection