@extends('appshell::layouts.private') @section('title') {{ $user->name }} @stop @section('content') {{-- Quick-access menu for this user --}}
{{ __('Plugin Authorized At') }}: {{ $user->plugin_authorized_at ? show_datetime($user->plugin_authorized_at) : __('(not authorized)') }}
{{ __('Plugin Revoked At') }}: {{ $user->plugin_revoked_at ? show_datetime($user->plugin_revoked_at) : __('(not revoked)') }}
{{ __('Pending Plugin Domain') }}: {{ $user->plugin_pending_domain ?? __('(none)') }}
{{ __('Pending Plugin IP') }}: {{ $user->plugin_pending_ip ?? __('(none)') }}
{{ __('Plugin Last Connected At') }}: {{ $user->plugin_last_connected_at ? show_datetime($user->plugin_last_connected_at) : __('(never)') }}
{{ $user->plugin_key ?? __('(not set)') }}
{{ session('new_public_key') }}
{{ __('Fingerprint') }}: {{ $privateFingerprint }}
{{ __('Private Key (partial, masked)') }}:
{{ $privatePartial }}
{{ __('Domain Hash (masked)') }}: {{ $masked }}
| {{ __('SKU') }} | {{ __('Name') }} | {{ __('Quantity') }} | {{ __('Subscriptions') }} |
|---|---|---|---|
| {{ $p['sku'] }} | {{ $p['name'] }} | {{ $p['quantity'] }} |
@php
$subs = collect($p['subscriptions'] ?? []);
$now = \Carbon\Carbon::now();
$current = $subs->first(function($s) use ($now) {
return isset($s['start'], $s['expiry']) && $s['start'] && $s['expiry'] && $s['start']->lte($now) && $s['expiry']->gte($now);
});
$last = $subs->sortByDesc(function($s) { return isset($s['expiry']) && $s['expiry'] ? $s['expiry']->getTimestamp() : 0; })->first();
@endphp
@if($current)
{{ $current['start']->format('Y-m-d') }} — {{ $current['expiry']->format('Y-m-d') }}
@elseif($last)
@php $expired = isset($last['expiry']) && $last['expiry'] && $last['expiry']->lt($now); @endphp
{{ optional($last['start'])->format('Y-m-d') ?? '-' }} @if(!empty($last['expiry'])) — {{ $last['expiry']->format('Y-m-d') }} @endif
@else
—
@endif
|
{{ __('No purchased products found.') }}
@endif| {{ __('SKU') }} | {{ __('Name') }} | {{ __('Start') }} | {{ __('End') }} | |
|---|---|---|---|---|
| {{ $gift->sku }} | {{ $gift->name }} | {{ $gift->start_date ? $gift->start_date->format('Y-m-d') : '-' }} | {{ $gift->end_date ? $gift->end_date->format('Y-m-d') : '-' }} |
{{ __('Edit') }} |
{{ __('No gifted products found.') }}
@endif| {{ __('Plugin') }} | {{ __('Total Downloads') }} | {{ __('Last Downloaded') }} | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $stat['name'] }} {{ $stat['sku'] }} |
{{ $stat['total_downloads'] }} | {{ $stat['last_downloaded_at']->format('Y-m-d H:i:s') }} | |||||||||
{{ __('Download History') }}: {{ $stat['name'] }}{{ __('Showing') }} {{ ($stat['downloads_page'] - 1) * $stat['downloads_per_page'] + 1 }} {{ __('to') }} {{ min($stat['downloads_page'] * $stat['downloads_per_page'], $stat['downloads_total']) }} {{ __('of') }} {{ $stat['downloads_total'] }} {{ __('downloads') }}
{{ __('No download details available.') }} @endif |
|||||||||||
{{ __('No plugin downloads recorded yet.') }}
@endif| {{ __('Number') }} | {{ __('Date') }} | {{ __('Status') }} | {{ __('Total') }} | |
|---|---|---|---|---|
| {{ $order->number }} | {{ show_datetime($order->ordered_at) }} | {{ $order->status }} | {{ $order->total() }} | {{ __('View') }} |
{{ __('Permanently delete this user and all associated records — orders, payments, downloads, affiliate data, subscriptions, and more. This action cannot be undone.') }}
@if(auth()->id() === $user->id) @else @endif{{ __('No key generated yet.') }}
@endif{{ __('No domain slots on record for this user.') }}
@else| {{ __('ID') }} | {{ __('Label') }} | {{ __('Status') }} | {{ __('Authorized') }} | {{ __('Last Connected') }} | {{ __('Released') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|
| {{ $aoSlot->id }} | {{ $aoSlot->domain_label ?? '—' }} | @if($aoSlot->is_active) {{ __('Active') }} @elseif($aoSlot->released_at) {{ __('Released') }} @else {{ __('Pending') }} @endif | {{ $aoSlot->authorized_at ? $aoSlot->authorized_at->format('Y-m-d H:i') : '—' }} | {{ $aoSlot->last_connected_at ? $aoSlot->last_connected_at->diffForHumans() : '—' }} | {{ $aoSlot->released_at ? $aoSlot->released_at->format('Y-m-d') : '—' }} | @if($aoSlot->is_active) @else — @endif |