@extends('layouts/contentLayoutMaster') @section('title', __('locale.menu.Subscriptions')) @section('vendor-style') {{-- vendor css files --}} @endsection @section('page-style') @endsection @section('content') @php $s = $subscriptions_stats ?? (object) []; $mrr = (float) ($s->mrr ?? 0); $activeCount = max(1, (int) ($s->active ?? 0)); $autoRenewing = (int) ($s->auto_renewing ?? 0); $autoPct = round(($autoRenewing / $activeCount) * 100, 1); @endphp
{{ __('locale.subscription.kpi_mrr_recurring') }}
{{ __('locale.subscription.kpi_mrr_sub', ['count' => (int) ($s->mrr_new_30d ?? 0)]) }}
+{{ number_format((float) ($s->mrr_change_pct ?? 0), 1) }}%
{{ __('locale.subscription.kpi_active_subscribers') }}
{{ __('locale.subscription.kpi_active_sub') }}
{{ __('locale.subscription.kpi_auto_renewing') }}
{{ __('locale.subscription.auto_renew_pct_active', ['pct' => $autoPct]) }}
{{ __('locale.subscription.kpi_ending_7d') }}
{{ __('locale.subscription.kpi_ending_sub') }}
{{ __('locale.subscription.kpi_pending_approval') }}
{{ __('locale.subscription.kpi_pending_sub') }}
{{ __('locale.subscription.page_subheading') }}
| {{ __('locale.labels.id') }} | Plan & Customer | Billing | Credits | {{ __('locale.labels.status') }} | {{ __('locale.subscription.gateway_col') }} | {{ __('locale.labels.actions') }} |
|---|
{{ __('locale.subscription.widget_pending_empty') }}
@endif{{ __('locale.subscription.widget_reconcile_empty') }}
@endif{{ __('locale.subscription.widget_recent_empty') }}
@endforelse