@extends('layouts.app') @section('title', 'Corporate Dashboard') @section('description', 'Track your CSR impact and funded projects') @section('content')

Corporate Dashboard

Track your CSR impact and funded projects

Total Funding

{{ $stats['total_funding'] ?? '₦0' }}

{{ $stats['funding_growth'] ?? '0' }}% from last month

Projects Funded

{{ $stats['projects_funded'] ?? '0' }}

{{ $stats['new_projects'] ?? '0' }} this month

Lives Impacted

{{ number_format($stats['lives_impacted'] ?? 0) }}

Growing impact

Active Projects

{{ $stats['active_projects'] ?? '0' }}

In progress

Funding Trends

SDG Distribution

Recent Transactions

View All
@forelse($recentTransactions as $transaction) @empty @endforelse
Project Amount Date Status Actions
{{ $transaction->project->title }}
{{ $transaction->project->owner->name }}
{{ $transaction->formatted_amount }}
{{ $transaction->payment_gateway_display }}
{{ $transaction->created_at->format('M d, Y') }} {{ $transaction->status_display }} View Project
No transactions yet. Start funding projects

Your Funded Projects

@if($fundedProjects->count() > 0)
@foreach($fundedProjects as $project)

{{ $project->title }}

{{ $project->owner->name }}

Progress {{ number_format($project->funding_progress, 1) }}%
{{ $project->formatted_funding_raised }} raised {{ $project->duration_months ?? 'N/A' }} months
View Details @if($project->status === 'approved') Fund More @endif
@endforeach
@else

No funded projects yet

Start making an impact by funding your first project

Browse Projects
@endif
@push('scripts') @endpush @endsection