@extends('dashboard.admin.layouts.app') @section('content')

{{ $title }}

@include('dashboard.admin.user.partials.account_options_and_status')
{{-- Plan Summary --}}
{{ $userPlan->plan->name }}
Subscriber: {{ $userPlan->user->name }}
{{ $userPlan->status->label() }}
@php $percentUsed = $userPlan->plan->maximum > 0 ? min(100, round(($userPlan->amount / $userPlan->plan->maximum) * 100)) : 0; @endphp
Current: {{ currency($userPlan->user->currency) }}{{ formatAmount($userPlan->amount) }} Max: {{ currency($userPlan->user->currency) }}{{ formatAmount($userPlan->plan->maximum) }}
Room available {{ currency($userPlan->user->currency) }}{{ formatAmount($remaining) }}
{{-- Top Up Form --}}
@csrf

Maximum top-up for this plan is {{ currency($userPlan->user->currency) }}{{ formatAmount($remaining) }}

@endsection