@extends('layouts.app') @section('content')
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))
⚠️

{{ session('error') }}

@endif {{-- Toast (Notification) --}}

{{ __('store.my_subscription_status') }}

{{-- بخش وضعیت اشتراک --}} @if($subscription && $subscription->isActive())
{{ __('store.order_id') }}: {{ $subscription->receipt ?? '-' }}
{{ __('store.active') }}
{{ (int) $subscription->daysRemaining() }} {{ __('store.days_remaining') }}
{{ __('store.expire_date') }} {{ $subscription->expire_date->format('Y/m/d') }}
{{ __('store.start_date') }} {{ $subscription->updated_at->format('Y/m/d') }}
{{ __('store.payment_method') }}
@if($subscription->payment_type == 'card_to_card') {{ __('store.card_to_card') }} @elseif($subscription->payment_type == 'crypto') کریپتو @else {{ __('store.zarinpal') }} @endif
{{ __('store.paid_amount') }} {{ number_format($subscription->amount_paid) }} {{ __('store.toman') }}
@else
🔒

{{ __('store.no_active_subscription_title') }}

{{ __('store.no_active_subscription_desc') }}

@endif

{{ __('store.plans_title') }}

{{ __('store.plans_subtitle') }}

@foreach($plans as $plan)

{{ app()->getLocale() === 'fa' ? $plan->title_fa : ($plan->title_en ?? $plan->title_fa) }}

{{ number_format($plan->toman) }} {{ __('store.toman') }}
{{ $plan->duration_days }} {{ __('store.days_full_access') }}

{{ app()->getLocale() === 'fa' ? $plan->description_fa : ($plan->description_en ?? $plan->description_fa) }}

{{-- 1. Zarinpal --}}
@csrf
{{-- 2. Card to Card --}} {{-- 3. Telegram Stars --}} {{-- 4. Crypto Payment (NEW) --}}
@endforeach
{{-- Card to Card Modal --}} @endsection