@extends('layouts.simple.master') @section('title', trans(app()->getLocale() . '.admin_dashboard')) @section('css') @endsection @section('main_content')

{{ trans(app()->getLocale() . '.admin_dashboard') }}

{{ trans(app()->getLocale() . '.welcome') }} {{ \Illuminate\Support\Str::title(auth()->user()->first_name ?? '') }} {{ \Illuminate\Support\Str::title(auth()->user()->last_name ?? '') }}!

{{ trans(app()->getLocale() . '.here_whats_happening') }}

vector women with leptop

{{ $totalUsers }}

{{ trans(app()->getLocale() . '.total_users') }}
{{ $userGrowth >= 0 ? '+' : '' }}{{ $userGrowth }}%

{{ $totalCompanies }}

{{ trans(app()->getLocale() . '.total_companies') }}
{{ $verifiedCompanies }} {{ trans(app()->getLocale() . '.verified') }}

{{ $totalOffers }}

{{ trans(app()->getLocale() . '.total_offers') }}
{{ $offerGrowth >= 0 ? '+' : '' }}{{ $offerGrowth }}%

{{ $activeSubscriptions }}

{{ trans(app()->getLocale() . '.active_subscriptions') }}
{{ $totalSubscriptions }} {{ trans(app()->getLocale() . '.total') }}
{{ trans(app()->getLocale() . '.offers') }} {{ trans(app()->getLocale() . '.statistics') }}
{{ $totalOffers }}

( {{ $acceptedOffers }}{{ trans(app()->getLocale() . '.accepted') }})

{{ trans(app()->getLocale() . '.pending_offers') }}: {{ $pendingOffers }}
{{ trans(app()->getLocale() . '.accepted_offers') }}: {{ $acceptedOffers }}
{{ trans(app()->getLocale() . '.rejected_offers') }}: {{ $rejectedOffers }}
{{ trans(app()->getLocale() . '.countered_offers') }}: {{ $counteredOffers }}
{{ trans(app()->getLocale() . '.recent_users') }}
@forelse($recentUsers as $user) @empty @endforelse
{{ trans(app()->getLocale() . '.name') }} {{ trans(app()->getLocale() . '.type') }} {{ trans(app()->getLocale() . '.date') }}
@if($user->image) user @else
{{ strtoupper(substr($user->name ?? 'N', 0, 1)) }}
@endif
{{ $user->name ?? 'N/A' }}

{{ $user->email ?? 'N/A' }}

{{ trans(app()->getLocale() . '.' . $user->type) }} {{ $user->created_at }}
{{ trans(app()->getLocale() . '.no_users_found') }}
{{ trans(app()->getLocale() . '.subscription_revenue') }}
  • ${{ number_format($packageSubscriptionsRevenue, 2) }}
    {{ trans(app()->getLocale() . '.package_subscriptions') }}
  • ${{ number_format($totalRevenue, 2) }}
    {{ trans(app()->getLocale() . '.total_revenue') }}
{{ trans(app()->getLocale() . '.monthly_subscriptions') }}

{{ trans(app()->getLocale() . '.subscription_statistics') }}

  • {{ trans(app()->getLocale() . '.this_month') }}
    {{ $currentMonthSubscriptions }}
  • {{ trans(app()->getLocale() . '.growth') }}
    {{ $subscriptionGrowth >= 0 ? '+' : '' }}{{ $subscriptionGrowth }}%
  • {{ trans(app()->getLocale() . '.revenue') }}
    ${{ number_format($thisMonthRevenue, 0) }}
    @if($pendingMeetings > 0)
  • {{ trans(app()->getLocale() . '.pending_meetings') }}: {{ $pendingMeetings }}

    {{ now()->format('h:i A') }}

    {{ trans(app()->getLocale() . '.verification_meetings_awaiting') }}

    {{ now()->format('M d, Y') }}

  • @endif @if($pendingTypeChangeRequests > 0)
  • {{ trans(app()->getLocale() . '.pending_type_change_requests') }}: {{ $pendingTypeChangeRequests }}

    {{ now()->format('h:i A') }}

    {{ trans(app()->getLocale() . '.user_type_change_requests_pending') }}

    {{ now()->format('M d, Y') }}

  • @endif @if($pendingOffers > 0)
  • {{ trans(app()->getLocale() . '.pending_offers') }}: {{ $pendingOffers }}

    {{ now()->format('h:i A') }}

    {{ trans(app()->getLocale() . '.offers_awaiting_response') }}

    {{ now()->format('M d, Y') }}

  • @endif @if($recentCompanies->count() > 0)
  • {{ $recentCompanies->first()->name ?? 'N/A' }} ({{ trans(app()->getLocale() . '.new_company') }})

    {{ $recentCompanies->first()->created_at ?? '' }}

    {{ trans(app()->getLocale() . '.new_company_registered') }}

    {{ $recentCompanies->first()->created_at ?? '' }}

  • @endif
@forelse($recentOffers as $offer) @empty @endforelse
{{ trans(app()->getLocale() . '.company') }} {{ trans(app()->getLocale() . '.from') }} {{ trans(app()->getLocale() . '.investment_amount') }} {{ trans(app()->getLocale() . '.date') }} {{ trans(app()->getLocale() . '.status') }}
@if($offer->company && $offer->company->logo)
@else
{{ strtoupper(substr($offer->company->name ?? 'N', 0, 1)) }}
@endif
{{ $offer->fromUser->name ?? 'N/A' }} ${{ number_format($offer->investment_amount ?? 0, 2) }} {{ $offer->created_at }} @php $statusClass = [ 'pending' => 'button-light-info txt-info', 'accepted' => 'button-light-success txt-success', 'rejected' => 'button-light-danger txt-danger', 'countered' => 'button-light-warning txt-warning' ][$offer->status] ?? 'button-light-info txt-info'; $statusLabel = trans(app()->getLocale() . '.status_' . $offer->status); @endphp
{{ trans(app()->getLocale() . '.no_offers_found') }}
{{ trans(app()->getLocale() . '.user_statistics') }}
{{ trans(app()->getLocale() . '.entrepreneurs') }}: {{ $totalEntrepreneurs }}
{{ trans(app()->getLocale() . '.investors') }}: {{ $totalInvestors }}
{{ trans(app()->getLocale() . '.audience') }}: {{ $totalAudience }}
{{ trans(app()->getLocale() . '.total') }}: {{ $totalUsers }}
@forelse($recentCompanies as $company) @empty @endforelse
{{ trans(app()->getLocale() . '.company') }} {{ trans(app()->getLocale() . '.owner') }} {{ trans(app()->getLocale() . '.date') }}
{{ $company->name ?? 'N/A' }} {{ $company->owner->name ?? 'N/A' }} {{ $company->created_at }}
{{ trans(app()->getLocale() . '.no_companies_found') }}
    @if($pendingMeetings > 0)
  • {{ now()->format('H:i') }}
    {{ trans(app()->getLocale() . '.pending_meetings') }} {{ $pendingMeetings }} {{ trans(app()->getLocale() . '.meetings_awaiting') }}
  • @endif @if($scheduledMeetings > 0)
  • {{ now()->format('H:i') }}
    {{ trans(app()->getLocale() . '.scheduled_meetings') }} {{ $scheduledMeetings }} {{ trans(app()->getLocale() . '.meetings_scheduled') }}
  • @endif @if($pendingMeetings == 0 && $scheduledMeetings == 0)
  • {{ now()->format('H:i') }}
    {{ trans(app()->getLocale() . '.no_pending_meetings') }}
  • @endif
@endsection @section('scripts') @endsection