@extends('layouts.main') @section('title', 'Transactions Overview - Prolytics Connect') @section('content')

Transactions Overview

Total Subscriptions

{{ $stats['total_subscriptions'] }}

Total Transactions

{{ $stats['total_transactions'] }}

Total Revenue

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

Monthly Revenue

${{ number_format($stats['monthly_revenue'], 2) }}

Recent Transactions

View All
@forelse($recentTransactions as $transaction) @empty @endforelse
Company Plan Type Amount Paid Date Actions
{{ $transaction->company->name }}
{{ $transaction->company->email }}
{{ $transaction->subscriptionPlan->title ?? 'N/A' }} @if($transaction->type === 'subscription') New Subscription @elseif($transaction->type === 'upgrade') Plan Upgrade @else {{ ucfirst($transaction->type) }} @endif ${{ number_format($transaction->amount, 2) }} {{ $transaction->paid_at ? $transaction->paid_at->format('M j, Y') : $transaction->created_at->format('M j, Y') }} View

No recent transactions found

@endsection