@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)
{{ translate('Relation Status') }}
@foreach($relationStatus->metas as $status)
id) selected @endif> {{ $status->name }}
@endforeach
@endif
{{ translate('Status') }}
Active
Inactive
Country
@foreach($countries as $country)
id) selected @endif> {{ $country->name }}
@endforeach
Submit
@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) }}
{{ translate('Send Mail') }}
@foreach ($reportData as $country => $cities) @foreach ($cities as $city => $totalSum)
@endforeach @endforeach @csrf
Email
@error('email')
{{ $message }}
@enderror
{{ translate('Cancel') }}
Send
@endsection @section('scripts')
@endsection