@extends('admin.layouts.master') @section('title') {{ translate('Report') }} @endsection @php $countriesName=[]; $countriesIncome=[]; foreach ($reportCountryData as $key => $value) { $countriesName[] = $key; $countriesIncome[] = $value; } $countriesName = implode(',',$countriesName); $countriesIncome = implode(',',$countriesIncome); $monthlycurrnetYearincomevalues='0,0,0,0,0,0,0,0,0,0,0,0'; $monthlyCurentYaerUserValues='0,0,0,0,0,0,0,0,0,0,0,0'; $generalSetting = App\Models\GeneralSetting::first(); $logoPath = public_path('admin/Image/AppSettings/Logo/' . $generalSetting->system_logo); $logoData = base64_encode(file_get_contents($logoPath)); $logoSrc = 'data:image/' . pathinfo($logoPath, PATHINFO_EXTENSION) . ';base64,' . $logoData; @endphp @section('content')
{{--
--}}

{{ translate('Detailed Report') }}

@foreach ($reportData as $country => $cities) @foreach ($cities as $city => $totalSum) @endforeach @endforeach
{{-- --}}
@if ($relationStatus->status == 1)
@endif
@php $a = 1; @endphp @foreach ($reportData as $country => $cities) @foreach ($cities as $city => $totalSum) @php $a++; @endphp @endforeach @endforeach
# {{ translate('Country')}} {{ translate('City')}} {{ translate('Sum')}}
{{ $a }} {{ $country }} {{ $city }} {{formatCurrency($totalSum, $currency) }}
@endsection @section('scripts') @endsection