@extends('layouts.master') @section('title') Customer - Real time usage @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Customer @endslot @slot('title') Livedata @endslot @endcomponent
Online Sessions
@if(count(auth()->user()->activeServices))
{{-- --}} {{-- --}} {{-- --}} {{-- --}} @foreach(auth()->user()->activeServices as $service) {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach
ClientPackageNameUsernameIp addressStart Time Download Upload Time online
online{{auth()->user()->firstname}} {{auth()->user()->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(auth()->user()->activeServices)) @else

No online services found.

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