@extends('layouts.master') @section('title', 'Business Analytics Suite') @section('css') @endsection @section('content')
Monthly Revenue

{{ number_format($pulse['revenue']['total'], 2) }} L.E

{{ abs($pulse['revenue']['growth']) }}% vs last month

Revenue from new subscriptions & renewals.
Ecosystem GMV

{{ number_format($pulse['gmv'], 2) }} L.E

Total sales through ecosystem

Aggregate value of all partner transactions.
Customer Savings

{{ number_format($pulse['savings'], 2) }} L.E

Direct financial benefit provided

Total discounts applied across all partners.
Active Subscription Rate

{{ $pulse['subscription_rate'] }}%

{{ $pulse['active_subscribers'] }} currently active

Users with valid, paid packages.
Top 5 Anchor Tenants (Approved)

Highest performing brands by transaction volume. These partners drive the most traffic.

@foreach($partner['top_merchants'] as $m) @endforeach
Brand Redemptions Growth
{{ $m->brand?->brand_name_en ?? 'Unknown Brand' }}
{{ number_format($m->transaction_count) }} Stable
Category Market Share

Distribution of transactions across business categories.

Branch Performance Heatmap (By Area)

Geographic concentration of redemptions. Use this to identify high-traffic zones.

Demographic Spending Power (Avg Value)
Geographic Penetration
Churn Risk Watchlist (High Priority)
@foreach($customer['churn_risk'] as $riskUser) @endforeach
Customer Ends In Last Active Action
{{ $riskUser->card?->personalData?->first_name ?? 'Customer' }} ({{ $riskUser->card?->mobile_number ?? 'Unknown' }}) {{ now()->diffInDays($riskUser->subscription_ends_at) }} Days No usage (14d)
Rejection Rate

{{ $risk['rejection_rate'] }}%

Percentage of failed transactions

Discount Leakage (>50% Discount)
@foreach($risk['discount_leakage'] as $item) @endforeach
Brand User Discount Value
{{ $item->brand?->brand_name_en ?? 'Unknown Brand' }} {{ $item->card?->mobile_number ?? 'Unknown' }} {{ $item->discount_percentage }}% {{ $item->transaction_value }} L.E
Marketplace Rating (NPS)

{{ $voice['avg_score'] }}

@for($i=1;$i<=5;$i++) @endfor

Recommendation Rate: {{ $voice['recommend_rate'] }}%

Critical Complaints (Last 10)
@forelse($voice['complaints'] as $c)
Issue {{ $c->rated_at ?? now()->subHours(rand(1,24)) }}

"{{ $c->complaint }}"

@empty
No complaints recorded
@endforelse
@endsection @section('scripts') @endsection