@php $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; $monthlyLastYearUser_graph=[]; $monthlyCurentYaerUser_graph=[]; foreach ($monthlyLastYearUserCounts as $key => $value) { $monthlyLastYearUser_graph[] = $value; } $monthlyLastYearUservalues = implode(',',$monthlyLastYearUser_graph); foreach ($monthlyCurentYaerUserCounts as $key => $val) { $monthlyCurentYaerUser_graph[] = $val; } $monthlyCurentYaerUserValues = implode(',',$monthlyCurentYaerUser_graph); $monthlyLastYearincome_graph=[]; $monthlyCurentYaerIncome_graph=[]; foreach ($lastYearIncomeByMonth as $key => $value) { $monthlyLastYearincome_graph[] = $value; } $monthlyLastYearincomevalues = implode(',',$monthlyLastYearincome_graph); foreach ($currentYearIncomeByMonth as $key => $value) { $monthlyCurentYaerIncome_graph[] = $value; } $monthlycurrnetYearincomevalues = implode(',',$monthlyCurentYaerIncome_graph); @endphp @extends('admin.layouts.master') @section('title') {{ translate('Report') }} @endsection @section('content')
{{--
--}}

{{ translate('Financial Data') }}

{{-- --}}
@if ($relationStatus->status == 1)
@endif
{{$lastYear}} {{$currentYear}} Difference
Members Signup {{$lastYearUsers}} {{$currentYearUsers}} {{$userDifference}}
{{$lastYear}} {{$currentYear}} Difference
Income {{formatCurrency($lastYearIncome, $currency) }} {{formatCurrency($currentYearIncome, $currency) }} {{formatCurrency($incomeDifference, $currency) }}
{{$lastYear}} {{$currentYear}} Difference
Male {{$lastYearMaleUsers}} {{$currentYearMaleUsers}} {{$differenceMale}}
Female {{$lastYearFemaleUsers}} {{$currentYearFemaleUsers}} {{$differenceFemale}}
@endsection @section('scripts') @endsection