@extends('layouts.master') @section('title') statistics @endsection @section('css') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('li_1') Services @endslot @slot('title') Online @endslot @endcomponent --}}
@include('clients.header')
ONLINE SESSIONS
@if(isset($client) && count($client->activeServices))
@foreach($client->activeServices as $service) @endforeach
Client Package Name Username Ip address Start Time Download Upload Time online
online {{$client->firstname}} {{$client->lastname}} {{$service->package->name}} {{$service->description}} {{$service->username}} {{$service->framedipaddress}} {{Carbon\Carbon::parse($service->acctstarttime)->format('d M Y H:i')}} {{formatSizeUnits($service->acctoutputoctets)}} {{formatSizeUnits($service->acctinputoctets)}} {{calculateSessionTime($service->acctsessiontime)}}
@else
Sorry! No service Online at the moment
@endif
{{-- Data usage card --}}
Live bandwidth
@if(count($client->activeServices)) @else

No online services found.

@endif
@endsection @section('script') @endsection