@extends('layouts.master') @section('title') hotspot @endsection @section('css') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('li_1') Networking @endslot @slot('title') Hotspot @endslot @endcomponent --}}

Hotspot

@can('view hotspot widgets')

Active Vouchers

{{ $active_vouchers }}

Online Sessions

{{ $onlinesessions }}

Data (24h)

{{ $totaldata }}
@if(auth()->user()->can('view hotspot revenue')) @endif
@can('view hotspot revenue')

Payments Today

{{ $totalRevenueTodayFormatted }}
@endcan
@endcan {{-- @if(isset($updateData['version']) && isUpdateAvailable($updateData['version'], env('VERSION_INSTALLED'))) @include('dashboard.update') @endif --}} @hasrole('super-admin') @include('dashboard.license') @endhasrole
Online Users
@foreach(['', 'Voucher', 'Ip address', 'Start Time', 'Download', 'Upload', 'Time online'] as $cell) @endforeach
{{ $cell }}
@php function countdown($date){ $seconds = strtotime($date) - time(); // Calculate the remaining seconds $days = floor($seconds / 86400); // Calculate the remaining days $hours = floor(($seconds % 86400) / 3600); // Calculate the remaining hours $minutes = floor(($seconds % 3600) / 60); // Calculate the remaining minutes $seconds = ($seconds % 60); // Calculate the remaining seconds // Output the countdown echo "Days: $days, Hours: $hours, Minutes: $minutes, Seconds: $seconds"; } @endphp @endsection @section('script') @endsection