@extends('backend.app') @push('style') @endpush @section('title', 'Subscription Plans') @section('content')

Subscription Plans

Add Plan
@foreach($plans as $plan) @endforeach
Title Price (SAR) Duration Features Count Status Stripe Payment Action
{{ $plan->title }}
@if($plan->subtitle) {{ $plan->subtitle }} @endif
@if($plan->is_featured) @endif
@if($plan->discounted_price) {{ number_format($plan->price, 2) }} ر.س {{ number_format($plan->discounted_price, 2) }} ر.س @else {{ number_format($plan->price, 2) }} ر.س @endif
{{ ucfirst($plan->duration) }} {{ count($plan->getFeaturesList()) }} features
is_active) checked @endif onchange="toggleStatus({{ $plan->id }})" id="status-{{ $plan->id }}">
@if($plan->stripe_price_id) Configured {{ $plan->getFinalPriceAttribute() }} SAR @else Not Configured Missing Stripe Price ID @endif
@push('script') @endpush @endsection