@php($title = 'Activation Center') @php($heading = 'Activation Center') @php($sidebar = view()->make('dashboard.partials.customer-sidebar')->render()) @extends('layouts.dashboard', compact('title','heading','sidebar')) @section('content')
@if(session('status'))
{{ session('status') }}
@endif
Activation Quota {{ $quotaUsed }} used / {{ ($quotaLimit > 0 ? $quotaLimit : 'Unlimited') }} allowed
{{ $quotaLimit > 0 ? (($quotaRemaining ?? 0).' remaining') : 'Unlimited' }}

Request Activation

@csrf
@if($quotaLimit > 0 && ($quotaRemaining ?? 0) <= 0)

You’ve reached your activation quota.

@endif

My Activation Requests

@forelse($myRequests as $r) @empty @endforelse
Product Temp Login URL Status Requested
{{ $r->product->name ?? '—' }} Open {{ ucfirst($r->status ?? 'pending') }} {{ $r->created_at->format('M d, Y H:i') }}
No activation requests
{{ method_exists(($myRequests ?? null), 'links') ? $myRequests->links() : '' }}
@endsection