@extends('layouts.app') @section('title', 'Laporan') @section('content')

Laporan Rekomendasi

Riwayat hasil rekomendasi makanan berdasarkan metode SAW

@if(session('success'))
{{ session('success') }}
@endif

Filter Pencarian

Reset

Data Laporan

@if($laporan->count() > 0) @foreach($laporan as $item) @endforeach
No Pasien Gejala Nilai SAW Waktu Aksi
{{ $laporan->firstItem() + $loop->index }} {{ $item->nama_pasien }} {{ ucwords(str_replace(',', ', ', $item->gejala)) }} {{ number_format($item->nilai_saw,4) }} {{ $item->created_at->format('d M Y') }}
Detail
@csrf @method('DELETE')
@else
Belum ada riwayat rekomendasi
@endif
@if($laporan->hasPages())
Menampilkan {{ $laporan->firstItem() }} sampai {{ $laporan->lastItem() }} dari {{ $laporan->total() }} data
{{-- Previous --}} @if ($laporan->onFirstPage()) Sebelumnya @else Sebelumnya @endif {{-- Page Numbers --}} @foreach ($laporan->getUrlRange(1, $laporan->lastPage()) as $page => $url) @if ($page == $laporan->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach {{-- Next --}} @if ($laporan->hasMorePages()) Berikutnya @else Berikutnya @endif
@endif
@endsection