@extends('layouts.app') @section('title', 'Stripe Subscriptions') @section('content')
Subscription history across all users.
| User | 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. | |||||||||||
| User | 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. | ||||||