@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; @endphp
Category | {{ $lastYear }} | {{ $currentYear }} | Difference |
---|---|---|---|
Members Signup | {{ $lastYearUsers }} | {{ $currentYearUsers }} | {{ $userDifference }} |
Income | {{ formatCurrency($lastYearIncome, $currency) }} | {{ formatCurrency($currentYearIncome, $currency) }} | {{ formatCurrency($incomeDifference, $currency) }} |
Male Users | {{ $lastYearMaleUsers }} | {{ $currentYearMaleUsers }} | {{ $differenceMale }} |
Female Users | {{ $lastYearFemaleUsers }} | {{ $currentYearFemaleUsers }} | {{ $differenceFemale }} |