@extends('layouts.dashboard') @section('content') @php /** * The page a surface shows when this install does not offer its capability. * * The route is deliberately NOT refused with a 404: an operator who arrives here from a bookmark, a * search, or a link in the documentation should learn what this screen is for and which business models * offer it, rather than meet a dead end that reads like a broken product. That is also why the page * keeps the full dashboard chrome — the sidebar is still there to move on with. * * Markup reuses the same .qm-card / .qm-empty anatomy the payouts screen already uses for its owned-mode * notice, so no new styling exists anywhere for this state. * * @var string $capability App\Services\Capability constant that was refused * @var string $offeredIn short state label, e.g. "Marketplace · Franchise" (may be '') * @var string $ctaUrl where to send the reader instead * @var string $ctaLabel label for that link */ $offeredIn = (string) ($offeredIn ?? ''); $ctaUrl = (string) ($ctaUrl ?? '/admin'); $ctaLabel = (string) ($ctaLabel ?? t_raw('nav.dashboard')); @endphp
{{ t_raw('capability.unavailable_title') }}
{{ t_raw('capability.unavailable_sub') }}
@php // The models that DO offer this, shown as a state pill rather than a sentence. @endphp @if ($offeredIn !== ''){{ $offeredIn }}
@endif {{ $ctaLabel }}