@extends('layouts.site') @section('title', __('Subscription')) @section('content')
{{ __('Subscription') }}

{{ __('Subscription') }}

@if($level === 'trial')
{{ __('Free trial') }} — {{ $remaining }} {{ __('hours remaining') }}
@elseif($active)
{{ __('Active until') }}: {{ $active->ends_at->format('Y-m-d') }} ({{ $active->plan->displayName() }})
@elseif($pending)
{{ __('Pending approval') }} — {{ $pending->plan->displayName() }}
@endif
@foreach($plans as $plan)

{{ $plan->displayName() }}

{{ number_format($plan->price, 0) }} {{ $plan->currency }}

{{ $plan->displayDescription() }}

{{ $plan->duration_days }} {{ app()->getLocale()==='en'?'days':'يوم' }}

@auth
@csrf
@else {{ __('Register') }} @endauth
@endforeach

{{ app()->getLocale()==='en' ? 'Payment is manual for now. After requesting, an admin will activate your subscription.' : 'التفعيل حالياً يدوي. بعد الطلب سيقوم الأدمن بتفعيل اشتراكك.' }}

@endsection