@extends('layouts.app') @section('content')

{{ countUser('Approve')['countNo'] }}

{{ __('Active Users') }}

{{ countPost('Approve')['countNo'] }}

{{ __('Active Posts') }}

{{ $boostPosts }}

{{ __('Total Boost Posts') }}

{{ $contacts }}

{{ __('User Complaints') }}

{{ __('Marketplace Analytics') }}

{{ __('Total Posts') }}

{{ countPost()['countNo'] }}

{{ __('Pending Posts') }}

{{ countPost('Pending')['countNo'] }}

{{ __('In-Review Posts') }}

{{ countPost('In-Review')['countNo'] }}

{{ __('Approved Posts') }}

{{ countPost('Approve')['countNo'] }}

{{ __('Sold Posts') }}

{{ countPost('Soled')['countNo'] }}

{{ __('Rejected Posts') }}

{{ countPost('Reject')['countNo'] }}

{{ __('Cancelled Posts') }}

{{ countPost('Cancel')['countNo'] }}

{{ __('Admin Wallet') }}

{{ number_format($totalEarnings, 2) }}

{{ number_format($growthRate, 2) }}% {{ __('Total Earning') }}

{{ number_format($totalWalletRecharge, 2) }}

{{ __('Total Wallet Recherge') }}

{{ number_format($totalDirectPurchaseEarnings, 2) }}

{{ __('Direct Purchase Earnings') }}

{{ number_format($totalPendingPayments, 2) }}

{{ __('Total Pending Payment') }}

{{ __('Top Sellers') }}

@forelse ($topSellers as $sellerData)
{{ $sellerData['seller']?->name }}
{{ $sellerData['seller']?->name }}
@for ($i = 1; $i <= 5; $i++) @endfor {{ $sellerData['avg_rating'] }} {{ '(' . $sellerData['review_count'] . ')' }}
{{ __('Posts') }} : {{ $sellerData['post_count'] }}
@empty

{{ __('No top sellers found') }}

@endforelse

{{ __('Boost Plan Sold Summary') }} ( {{ __('Latest 5 Boostplan Sold') }} )

@forelse ($boostplansold as $sold) @empty @endforelse
# {{ __('Plan Name') }} {{ __('Payable Amount') }} {{ __('Discount') }} {{ __('Sustain Days') }} {{ __('Sold Count') }}
{{ $loop->iteration }} {{ $sold->name }} {{ currencyFormat($sold->payable_amount) }} {{ currencyFormat($sold->discount_amount) }} {{ $sold->sustain_days }} {{ $sold->boost_posts_count }}
{{ __('No plans found.') }}
@endsection @push('scripts') @endpush