@extends('layouts.app') @section('title', 'Hotspot locations') @section('content')
Where vouchers can be redeemed.
| Location | Address | NAS / AP | Vouchers sold | Revenue | Sessions | Status |
|---|---|---|---|---|---|---|
| {{ $location->name }}
{{ $location->city }} |
{{ $location->address ?: '—' }} | {{ $location->nas_ip ?: '—' }} | {{ $location->vouchers()->where('status', '!=', 'available')->count() }} | {{ money($location->vouchers()->where('status', '!=', 'available')->sum('price')) }} | {{ $location->sessions()->count() }} | {{ $location->is_active ? 'active' : 'inactive' }} |
| @include('components.empty-state', ['icon' => '☍', 'title' => 'No hotspot locations', 'action' => '']) | ||||||