@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 Income Report

Income Report

@foreach ($customerPayments as $customerPayment) @foreach ($customerPayment['monthly_sums'] as $monthlypayment) @endforeach @endforeach
Customers Jan Feb March April May June July Aug Sept Oct Nov Dec Total
Total {{ $customerPayment['total_customers'] }}{{ formatCurrency($monthlypayment, $currency) }}{{ formatCurrency($customerPayment['yearly_total'], $currency) }}