{{-- Subscription Usage Widget --}} @php $stats = Auth::user()->seller->getUsageStats(); @endphp
Plan Usage
{{ $stats['plan_name'] }} Plan
@if($stats['is_subscribed']) {{ $stats['days_remaining'] }} days left @else Upgrade @endif
{{-- Products --}}
Products {{ $stats['products']['used'] }}/{{ $stats['products']['limit'] }} @php $productPercent = $stats['products']['limit'] > 0 ? ($stats['products']['used'] / $stats['products']['limit']) * 100 : 0; @endphp
{{-- Inquiries --}}
Inquiries (Monthly) {{ $stats['inquiries']['sent'] }}/{{ $stats['inquiries']['limit'] }} @php $inquiryPercent = $stats['inquiries']['limit'] > 0 ? ($stats['inquiries']['sent'] / $stats['inquiries']['limit']) * 100 : 0; @endphp
{{-- Banners --}}
Banners @if($stats['banners']['limit'] > 0) {{ $stats['banners']['used'] }}/{{ $stats['banners']['limit'] }} @else Upgrade to unlock @endif
{{-- Custom Pages --}}
Custom Pages @if($stats['pages']['limit'] > 0) {{ $stats['pages']['used'] }}/{{ $stats['pages']['limit'] }} @else Upgrade to unlock @endif
{{-- Feature Badges --}}
Active Features:
@if($stats['features']['show_contact']) Contact Visible @endif @if($stats['features']['view_buyer_contact']) View Buyer Contact @endif @if($stats['features']['has_verified_badge']) KYC Verified @endif @if($stats['features']['has_certificates']) Certificates @endif @if($stats['features']['allow_microsite']) Microsite @endif @if(!$stats['is_subscribed']) Free Plan - Limited Features @endif