@extends('layouts.app') @section('title', 'Revenue Report') @section('page-title', 'Revenue Report') @section('content')
Total Revenue

₹{{ number_format($summary['total_revenue'], 2) }}

Total Subscriptions

{{ $summary['total_subscriptions'] }}

This Month

₹{{ number_format($summary['this_month'], 2) }}

Monthly Average

₹{{ number_format($summary['monthly_avg'], 2) }}

Reset
Revenue by Plan Type
@foreach($revenueByPlan as $planType => $data) @endforeach
Plan Type Count Total Revenue
{{ ucfirst($planType) }} {{ $data['count'] }} ₹{{ number_format($data['total'], 2) }}
Monthly Revenue Breakdown
@forelse($monthlyRevenue as $month => $data) @empty @endforelse
Month Count Revenue
{{ $data['month'] }} {{ $data['count'] }} ₹{{ number_format($data['total'], 2) }}
No data available
Revenue Transactions
Back to Subscriptions
@forelse($subscriptions as $subscription) @empty @endforelse @if($subscriptions->count() > 0) @endif
Partner Plan Amount Payment Date Status
{{ $subscription->partner->name }} {{ ucfirst($subscription->plan_type) }} ₹{{ number_format($subscription->amount, 2) }} {{ $subscription->paid_at ? $subscription->paid_at->format('d M Y') : 'N/A' }} Active

No revenue data found

Total: ₹{{ number_format($subscriptions->sum('amount'), 2) }}
@endsection