@extends('layouts.admin') @section('title', 'Ulasan Pelanggan') @section('content')

Ulasan Pelanggan

@forelse ($reviews as $review) @empty @endforelse
No Pelanggan Rating Komentar Tanggal Aksi
{{ $loop->iteration }} {{ $review->name }} {{ str_repeat('★', $review->rating) }}{{ str_repeat('☆', 5 - $review->rating) }} {{ $review->comment }} {{ $review->created_at->format('d-m-Y') }}
Hapus
@csrf @method('DELETE')

Yakin hapus?

Belum ada ulasan.
@endsection