@extends('layouts.public') @section('content') @php /** * Shown when a scanned table QR can't take orders right now: the token is * unknown, the restaurant isn't approved, or QR ordering is switched off for it. * Rendered through the public layout (HTTP 404) so the diner keeps full chrome. * * @var string|null $restaurantName */ $restaurantName = $restaurantName ?? null; @endphp

{{ t_raw('table_closed.title') }}

@php /* The page's messages belong UNDER its title band, inside the page the reader is looking at — not floating above it. getFlashes() consumes, so the layout's own call further out finds nothing and does not draw it twice. */ @endphp
@partial('flash')

@if ($restaurantName !== null) {!! t_raw('table_closed.unavailable_at', [':name' => '' . e($restaurantName) . '']) !!} @else {{ t_raw('table_closed.not_found') }} @endif {{ t_raw('table_closed.help_suffix') }}

@endsection