@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

Ecosystem GMV

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

Total sales through ecosystem

Customer Savings

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

Direct financial benefit provided

Active Subscription Rate

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

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

Top 5 Anchor Tenants (Approved)
@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
Branch Performance Heatmap (By Area)
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