@extends('layouts.admin') @section('title', 'Restaurants') @section('role-label', 'Super Admin') @section('page-title', 'Restaurants') @section('page-subtitle', 'Manage all restaurant accounts') @section('sidebar-nav') @include('super-admin.partials.sidebar') @endsection @section('content')
Add Restaurant
@forelse($restaurants as $r) @empty @endforelse
Restaurant Owner City Status Subscription Registered Actions
{{ $r->name }}
{{ $r->slug }}
{{ $r->owner?->name ?? '—' }}
{{ $r->email }}
{{ $r->city ?? '—' }} {{ $r->status }} @if($r->subscription_end_date) @php $badge = $r->subscription_status_badge; @endphp {{ $badge['label'] }} @else {{ $r->subscription_status }} @endif {{ $r->registration_date ? $r->registration_date->format('d M Y') : $r->created_at->format('d M Y') }} @if($r->registration_day)
{{ $r->registration_day }}
@endif
Edit
@csrf
No restaurants found
Add First Restaurant
@if($restaurants->hasPages())
{{ $restaurants->withQueryString()->links() }}
@endif
@endsection