Sponsor Ads Revenue Report

Revenue by Business Owner

@if($date_from || $date_to) Period: {{ $date_from ?: 'All time' }} — {{ $date_to ?: 'Present' }} @else Period: All time @endif Generated: {{ date('Y-m-d H:i') }} Total Revenue: ${{ number_format($grandTotal, 2) }}
@foreach($results as $i => $row) @endforeach
# Business Name Owner Name Total Revenue ($) Total Ads Last Transaction
{{ $i + 1 }} {{ $row->business_name }} {{ $row->owner_name }} {{ number_format($row->total_revenue, 2) }} {{ $row->total_ads }} {{ $row->last_transaction ? \Carbon\Carbon::parse($row->last_transaction)->format('Y-m-d H:i') : 'N/A' }}
Grand Total ${{ number_format($grandTotal, 2) }} {{ $results->sum('total_ads') }}