@extends('layouts.public') @section('content') @php /** * Customer "My reviews" — the reviews this customer has written, newest first. * Reviews are per delivered order, created either from the order's "Leave a review" * form (AccountController::saveReview) or from a restaurant's page after a delivered * order (App\Http\Controllers\Public\ReviewController); this page lists them and links back. * @var array $reviews rows of [id, rating, comment, status, created_at, restaurant_name, restaurant_slug, order_number] */ $reviews = $reviews ?? []; @endphp
{{ (string) $rv['comment'] }}
{!! fmt_day($rv['created_at']) !!}@if (!empty($rv['order_number'])) · {{ (string) $rv['order_number'] }}@endif @if (($rv['status'] ?? 'approved') !== 'approved') {{ status_label('review', $rv['status']) }}@endif{{ t_raw('account.no_reviews_empty') }}
{{ t_raw('restaurant.browse') }}