@extends('layouts.app') @section('content')
{{ __('Update your account and submit subscription payment requests.') }}
{{ __('Status') }}: @if ($user->hasPanelAccess()) {{ __('Allowed') }} @elseif (!$isPrivileged && !$isValidSubscription) {{ __('On Hold (Unpaid)') }} @else {{ __('Blocked') }} @endif
{{ __('Paid Until') }}: @if ($isPrivileged) {{ __('Always active') }} @elseif ($user->subscription_expires_at) {{ $user->subscription_expires_at->translatedFormat('M d, Y') }} @else {{ __('Not set') }} @endif
| {{ __('Requested At') }} | {{ __('Period') }} | {{ __('Amount') }} | {{ __('Reference') }} | {{ __('Proof') }} | {{ __('Status') }} | {{ __('Review') }} |
|---|---|---|---|---|---|---|
| {{ $subscriptionRequest->requested_at?->translatedFormat('M d, Y H:i') }} | {{ __(\Illuminate\Support\Str::headline($subscriptionRequest->period_type)) }} x{{ $subscriptionRequest->periods_count }} | {{ number_format((float) $subscriptionRequest->amount, 2) }} {{ $subscriptionRequest->currency }} | {{ $subscriptionRequest->reference ?: '—' }} | @if ($subscriptionRequest->proof_path) {{ __('Download') }} @else — @endif | {{ __(ucfirst($subscriptionRequest->status)) }} |
@if ($subscriptionRequest->reviewed_at)
{{ $subscriptionRequest->reviewed_at->translatedFormat('M d, Y H:i') }}
{{ __('by') }} {{ $subscriptionRequest->reviewer?->name ?? __('Admin') }}
@if ($subscriptionRequest->review_note)
{{ $subscriptionRequest->review_note }} @endif @else {{ __('Waiting admin validation') }} @endif |
| {{ __('No requests yet.') }} | ||||||