@extends('layouts.public') @section('title', $title . ' — Gestão Municipal') @section('content')

← Painel Municipal

{{ $title }}

{{ $description }}

{{ count($items) }} registros cadastrados no município
+ Novo Cadastro
@if (session('status'))
{{ session('status') }}
@endif
@forelse ($items as $item) @php $name = $item->name ?? $item->title ?? 'Item'; $categoryName = $item->category->name ?? (is_string($item->category ?? null) ? ucfirst($item->category) : ($item->business_type ?? 'Oficial')); $location = $item->neighborhood ?? $item->location_name ?? $item->address ?? (($currentTenant->uf ?? null) ? ($currentTenant->nome.' — '.$currentTenant->uf) : ($currentTenant->nome ?? 'Município')); $hasSeal = !empty($item->has_seal_of_quality); @endphp @empty @endforelse
Nome / Identificação Categoria / Tipo Localização Status Ações
{{ $name }} {{ $categoryName }} 📍 {{ $location }} @if ($hasSeal) ★ Selo Validado @else Ativo @endif
Editar @if (isset($item->slug)) @if ($publicRoute) Ver público @endif @endif
@csrf @method('DELETE')
Nenhum registro cadastrado neste módulo.
@endsection