@extends('layouts.app') @section('title', 'Stripe Subscriptions') @section('content')

Stripe Subscriptions

Subscription history across all users.

Filters
@foreach (request()->except('per_page', 'page') as $key => $value) @if (!is_array($value)) @endif @endforeach
@if (($filters['list_type'] ?? 'subscription') === 'subscription')
@else
@endif
Clear
@if ($listType === 'subscription')
@forelse($subscriptions as $sub) @empty @endforelse
User Email Service / Plan Status Period Start Period End Next Payment Amount Created Action
{{ $sub->user?->name ?? '—' }} {{ $sub->user?->email ?? '—' }} {{ $sub->order?->product_display_name ?? ($sub->provider_product_id ?? '—') }} {{ ucfirst(str_replace('_', ' ', $sub->status)) }} {{ $sub->current_period_start ? $sub->current_period_start->format('d/m/Y') : '—' }} {{ $sub->current_period_end ? $sub->current_period_end->format('d/m/Y') : '—' }} {{ $sub->current_period_end && in_array($sub->status, ['active', 'trialing']) ? $sub->current_period_end->format('d/m/Y') : '—' }} {{ $sub->order ? '$' . number_format((float) $sub->order->product_price, 2) . '/mo' : '—' }} {{ $sub->created_at->format('d/m/Y') }} View Details
No subscriptions found.
@if ($subscriptions && ($subscriptions->hasPages() || $subscriptions->total() > 0)) @endif @else
@forelse($oneTimePayments as $ph) @empty @endforelse
User Email Amount Currency Status Date Action
{{ $ph->user?->name ?? '—' }} {{ $ph->user?->email ?? '—' }} {{ $ph->formatted_amount }} {{ strtoupper($ph->currency ?? '') }} {{ ucfirst($ph->status) }} {{ $ph->created_at->format('d/m/Y H:i') }} @if ($ph->user && ($ph->invoice_hosted_url || $ph->invoice_pdf_url || $ph->stripe_invoice_id)) Download PDF @else — @endif
No one-time payments found.
@if ($oneTimePayments && ($oneTimePayments->hasPages() || $oneTimePayments->total() > 0)) @endif @endif
@endsection @push('styles') @endpush