@extends('layouts.sentara') @section('content')

Data Ulasan

@csrf
☁️

Upload file CSV / XLSX

klik tombol di bawah

@csrf

Format CSV yang Diperlukan

  • ✔ wisata, rating, ulasan, tanggal
  • ✔ Format: YYYY-MM-DD HH:MM:SS
  • ✔ Maks 10MB
📄

Total Ulasan

{{ $totalUlasan }}

📍

Total Wisata

{{ $totalWisata }}

📅

Terakhir Update

{{ $lastUpdate ? \Carbon\Carbon::parse($lastUpdate)->format('d M Y H:i') : '-' }}

@if(session('success'))
{{ session('success') }}
@endif
{{-- DROPDOWN PERIODE --}}
Periode:
{{-- SEARCH --}} Reset
@forelse($mentah as $i => $item) @empty @endforelse
No Nama Wisata Rating Ulasan Tanggal
{{ $mentah->firstItem() + $i }} {{ $item->wisata }} {{ str_repeat('★', round($item->rating)) }} {{ $item->rating }}
{{ $item->ulasan }}
{{ \Carbon\Carbon::parse($item->tanggal)->diffForHumans() }}
Belum ada data
Menampilkan {{ $mentah->firstItem() ?? 0 }} - {{ $mentah->lastItem() ?? 0 }} dari {{ $mentah->total() }} data
@if ($mentah->onFirstPage()) « @else « @endif @for ($i = 1; $i <= $mentah->lastPage(); $i++) @if ($i == $mentah->currentPage()) {{ $i }} @elseif ($i <= 3 || $i > $mentah->lastPage() - 2 || abs($i - $mentah->currentPage()) <= 1) {{ $i }} @elseif ($i == 4 || $i == $mentah->lastPage() - 3) ... @endif @endfor @if ($mentah->hasMorePages()) » @else » @endif
@endsection