{{ __('Billing') }} @if ($errors->any()) @endif @if (session('success')) {{ session('success') }} @endif @if (config('streamline.subscriptions.enabled')) @if (count($subscriptions) == 0) {{ __('You don\'t currently have any active subscriptions') }} @else {{ __('You have an active ') }} {{ __('subscription') }} @endif @if (config('streamline.subscriptions.plans')) {{ __('Choose a subscription plan') }} @foreach (config('streamline.subscriptions.plans') as $plan) {{ \Illuminate\Support\Str::of($plan['name'])->snake()->replace('_', ' ')->title() ?? null }} {{ config('streamline.subscriptions.currency').number_format($plan['price']/100, 2) ?? null }} / {{ $plan['interval'] }} {{ $plan['description'] ?? null }} @if ($plan['features'] ?? null) @foreach ($plan['features'] as $feature) {{ $feature }} @endforeach @endif @if ($subscribedTo->contains($plan['variant_id'])) {{ __('Already Subscribed') }} @else
@csrf @if ($multipleSubscriptions || !$subscribedTo->count() > 0) {{ __('Subscribe') }} @else {{ __('Change Plan') }} @endif @endif
@endforeach
@else {{ __('You don\'t currently have any plans setup in your streamline.php config file') }} @endif @endif