@extends('layouts.panel') @section('title', 'Pontos de Wi-Fi') @section('heading', 'Pontos de Wi-Fi') @section('lede', 'Locais onde a mídia é exibida no portal cativo') @section('content')
Novo ponto
@if ($points->isEmpty())

Rede

Nenhum ponto cadastrado

Cadastre o local do hotspot antes de vincular campanhas. O MikroTik entra só na integração.

@else
@foreach ($points as $point)

{{ $point->name }}

{{ $point->code }}

{{ $point->city ?: 'Sem cidade' }} {{ $point->campaigns_count }} campanha{{ $point->campaigns_count === 1 ? '' : 's' }}

Ver @can('update', $point) Editar @endcan @can('delete', $point) @if (app(\App\Services\WifiPointService::class)->canDelete($point)) @else @can('forceDelete', $point) @endcan @endif @endcan
@endforeach @if ($points->hasPages())
{{ $points->links() }}
@endif
@endif @endsection