@extends('layouts.main') @section('title', 'Choose Your Subscription Plan - Prolytics Connect') @section('styles') @endsection @section('content') @if($currentSubscription)

Subscription Management

@endif
@if(session('success')) @endif @if(session('error')) @endif @if(session('warning')) @endif @if($currentSubscription) @endif @if($currentSubscription)
Current Subscription

Plan: {{ $currentSubscription->subscriptionPlan->title }}

Status: {{ ucfirst(str_replace('_', ' ', $currentSubscription->status)) }}

@if($currentSubscription->current_period_end)

Next billing: {{ $currentSubscription->current_period_end->format('M d, Y') }}

@endif @if($currentSubscription->amount)

Amount: ${{ number_format($currentSubscription->amount, 2) }} {{ strtoupper($currentSubscription->currency) }}

@endif
@if(in_array($currentSubscription->status, ['active', 'trialing']) && !$currentSubscription->canceled_at)
@csrf
@endif
@endif

@if($currentSubscription) Change Your Subscription Plan @else Choose Your Subscription Plan @endif

@if($currentSubscription) Upgrade or downgrade your plan at any time. Changes take effect immediately. @else Select a plan to get started with our services. @endif

@if(!$currentSubscription)

Not ready to subscribe yet?

@csrf
@endif
@forelse($plans as $plan)
@if($currentSubscription && $currentSubscription->subscription_plan_id == $plan->id)
Current Plan
@endif

{{ $plan->title }}

@if($plan->price) ${{ number_format($plan->price, 0) }} /{{ strtolower($plan->frequency_label) }} @else Contact Us @endif
    @if($plan->pipeline_count)
  • {{ $plan->pipeline_count }} Pipelines
  • @endif @if($plan->pipeline_runs)
  • {{ number_format($plan->pipeline_runs) }} Pipeline Runs
  • @endif @if($plan->data_volume_processed)
  • {{ $plan->data_volume_processed }}GB Data Processing
  • @endif @if($plan->max_users)
  • {{ $plan->max_users }} Maximum Users
  • @endif @if($plan->included_monthly_pipeline_hours)
  • {{ $plan->included_monthly_pipeline_hours }}h Monthly Pipeline Hours
  • @endif @if($plan->pipeline_frequency_label && $plan->pipeline_frequency_label !== 'Not Set')
  • {{ $plan->pipeline_frequency_label }} Execution
  • @endif @if($plan->data_sources_supported)
  • {{ Str::limit($plan->data_sources_supported, 40) }}
  • @endif
@if(!$currentSubscription) @if($plan->stripe_price_id && $plan->price) Get Started @elseif(!$plan->price) Contact Us @else @endif @elseif($currentSubscription->subscription_plan_id == $plan->id) @else @if($plan->stripe_price_id && $plan->price) Change to This Plan @elseif(!$plan->price) Contact Us @else @endif @endif
@empty

No subscription plans available

Please check back later or contact support.

@endforelse

Need Help Choosing?

Contact our support team if you have questions about which plan is right for you.

Contact Support
@endsection @section('scripts') @endsection