@extends('layouts.app') @section('content') @include('layouts.navbar') @php use App\Helpers\RouteHelper; @endphp @include(RouteHelper::getSidebarView())
{{--
--}}

Total QR Scans

{{ $totalQrScans }}

Total QR project

{{ $totalQrProjects }}

Total Registered QR's

{{ $totalRegisterQrs }}



Customer Details

Name

{{ $customer->name }}

{{--

Rogger Business Card - Tap to share

--}}

Email Id

{{ $customer->primaryCustomerUser->email ?? '' }}





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

{{ $country['name'] }}

({{ 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['name'] }}

({{ 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['name'] }}

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

@endforeach

@foreach ($customerUserProjects as $key => $project) @endforeach
@endsection @section('script') @endsection