@extends('layouts.app') @section('content') @include('layouts.navbar') @include('layouts.sidebar')

Total QR Scans

{{ $totalQrScanCount }}

Total QR project

{{ $totalQrProjectsCount }}

Total Mapped QR's

{{ $totalMappedQrCount }}



User Details

Name

{{ $user->name }}


Email Id

{{ $user->email }}


Account Created on

{{ $user->created_at }}


Scan Details

Latest Scan Time

{{ $lastScanTime }}


Total Functionlity Use

{{ $totalFunctionlityCount }}






Countries - Top 10
@php $total = array_sum(array_column($countries, 'count')); @endphp @foreach ($countries as $country) @php $percentage = ($country['count'] / $total) * 100; @endphp

{{ $country['country'] }}

({{ round($percentage, 2) }}%)

@endforeach
States - Top 10
@php $total = array_sum(array_column($states, 'count')); @endphp @foreach ($states as $state) @php $percentage = ($state['count'] / $total) * 100; @endphp

{{ $state['state'] }}

({{ round($percentage, 2) }}%)

@endforeach
Cities - Top 10
@php $total = array_sum(array_column($cities, 'count')); @endphp @foreach ($cities as $city) @php $percentage = ($city['count'] / $total) * 100; @endphp

{{ $city['city'] }}

({{ round($percentage, 2) }}%)

@endforeach
{{ $dataTable->table() }}
@endsection @section('script') {{ $dataTable->scripts() }} {{-- --}} @endsection