{{ $tab }} Management
Match Metrix predictions, subscriptions and settings monitor.
{{ session('success') }}
@endif
@if($tab === 'dashboard')
@endif
@if($tab === 'packages')
@endif
@if($tab === 'predictions')
@endif
@if($tab === 'users')
@if($users->hasPages())
@endif
@if($tab === 'tickets')
@endif
@if($tab === 'settings')
@endif
@if($tab === 'earnings')
@if($earnings->hasPages())
@endif
@if($tab === 'notifications')
@endif
Total Users
{{ $stats['total_users'] }}
Active VIP Subs
{{ $stats['active_subscribers'] }}
VIP Packages
{{ $stats['total_packages'] }}
Open Tickets
{{ $stats['open_tickets'] }}
USD Revenue (Stripe/Card)
${{ number_format($stats['total_earnings_usd'], 2) }}
UGX Revenue (Mobile Money)
{{ number_format($stats['total_earnings_ugx']) }} UGX
Card Earnings
${{ number_format($stats['card_earnings_usd'], 2) }}
Mobile Money Earnings
{{ number_format($stats['mobile_earnings_ugx']) }} UGX
Pending Tickets
View all
@forelse($tickets->where('status', 'open')->take(5) as $ticket)
{{ $ticket->priority }}
@empty
{{ $ticket->subject }}
{{ $ticket->user->name ?? 'Guest User' }} • {{ $ticket->created_at->diffForHumans() }}
No open tickets. All clean!
@endforelse
Latest Predictions
Manage
@forelse($predictions->take(5) as $pred)
{{ $pred->status }}
@empty
{{ $pred->team1 }} vs {{ $pred->team2 }}
{{ $pred->league }} • Tip: {{ $pred->selection }}
No predictions added yet.
@endforelse
@foreach($packages as $pkg)
@endforeach
{{ $pkg->title }}
{{ $pkg->price }}{{ $pkg->subtitle ?? 'Premium VIP predictions package' }}
Duration: {{ $pkg->duration_days }} Days
Card Layout: {{ $pkg->layout_name }}
State: {{ $pkg->is_locked ? 'Locked (Paid)' : 'Free' }}
Edit VIP Package
| League | Fixture | Prediction | Target Package | Date | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $pred->league }} |
@if($pred->team1_logo)
|
{{ $pred->selection }} | {{ $pred->vipPackage->title ?? 'None' }} | {{ $pred->prediction_date->format('M d, Y') }} |
|
|
| No predictions registered. Add one to start. | ||||||
Edit Prediction
| User Name | Registered Date | Role | Quick Action | |
|---|---|---|---|---|
| {{ $user->name }} | {{ $user->email }} | {{ $user->created_at->format('M d, Y H:i') }} | {{ $user->is_admin ? 'Admin' : 'User' }} | |
| No registered users found. | ||||
{{ $users->appends(['tab' => 'users'])->links() }}
@endif
Manage Plan for
| User | Subject | Message | Priority | Status | Actions |
|---|---|---|---|---|---|
{{ $tkt->user->name ?? 'Guest User' }} {{ $tkt->user->email ?? 'no-email' }} |
{{ $tkt->subject }} | {{ $tkt->message }} | {{ $tkt->priority }} | {{ $tkt->status }} | @if($tkt->status === 'open') @else Resolved ✓ @endif |
| No support tickets found. | |||||
Resolve Support Ticket
Global Configuration
Total USD Earnings
${{ number_format($stats['total_earnings_usd'], 2) }}
Total UGX Earnings
{{ number_format($stats['total_earnings_ugx']) }} UGX
Card (USD)
${{ number_format($stats['card_earnings_usd'], 2) }}
Withdrawable Balance
{{ number_format($stats['available_balance_ugx']) }} UGX
Gross MoMo income:
{{ number_format($stats['mobile_earnings_ugx']) }} UGX
@php $totalWithdrawnDisplay = $stats['mobile_earnings_ugx'] - $stats['available_balance_ugx']; @endphp
Total withdrawn + fees:
-{{ number_format(max(0, $totalWithdrawnDisplay)) }} UGX
Filter By:
Showing {{ $earnings->firstItem() ?? 0 }}-{{ $earnings->lastItem() ?? 0 }} of {{ $earnings->total() }} payments
Payment Ledger
| User | VIP Package | Payment Method | Amount | Transaction Reference | Status | Date & Time |
|---|---|---|---|---|---|---|
|
{{ $earn->user->name ?? 'Deleted User' }}
{{ $earn->user->email ?? '-' }}
|
{{ $earn->vipPackage->title ?? 'Deleted Package' }} | @if($earn->payment_method === 'card') Card / Stripe @elseif($earn->payment_method === 'mobile_money') Mobile Money @else Manual / Admin @endif | @if($earn->amount_usd) ${{ number_format($earn->amount_usd, 2) }} @elseif($earn->amount_ugx) {{ number_format($earn->amount_ugx) }} UGX @else Free @endif |
{{ $earn->transaction_ref ?? 'N/A' }}
|
{{ $earn->status }} | {{ $earn->created_at->format('M d, Y H:i') }} |
| No payments recorded matching your filters. | ||||||
{{ $earnings->appends(request()->query())->links() }}
@endif
Withdrawal History
| Beneficiary Name | Phone Number | Withdrawal Amount | Processing Charge | Total Deducted | Reference | Status | Date |
|---|---|---|---|---|---|---|---|
| {{ $wd->customer_name ?? 'N/A' }} | {{ $wd->phone }} | {{ number_format($wd->amount) }} UGX | {{ number_format($wd->charge) }} UGX | {{ number_format($wd->amount + $wd->charge) }} UGX |
{{ $wd->reference }}
|
{{ $wd->status }} | {{ $wd->created_at->format('M d, Y H:i') }} |
| No withdrawals processed yet. | |||||||
Withdraw Funds (Uganda MM)
Recipient Name:
Phone Number:
Withdrawal Amount:
Processing Charge:
Total Deduction: