{{ $product['name'] }}
{{ $product['tagline'] }}
@extends('api_panel.layouts.app') @section('title', \App\Services\ApiPlatform\ProductCatalog::text('apipanel-access-title', 'Erişimlerim', 'My access')) @section('content') @php use App\Services\ApiPlatform\ProductCatalog; /** Durum rozeti: [etiket tr, etiket en, css sınıfı] */ $stateLabels = [ 'free' => ['Ücretsiz', 'Free', 'is-active'], 'plan' => ['Plan kapsamında', 'Included in plan', 'is-active'], 'pack' => ['Paket bakiyeniz var', 'Pack balance available', 'is-active'], 'credits' => ['Kredi ile kullanılabilir', 'Usable with credits', 'is-monthly'], 'none' => ['Erişim yok', 'No access', 'is-danger'], ]; @endphp
{{ ProductCatalog::text('apipanel-access-subtitle', 'Şu anda hangi endpointleri çağırabildiğinizin tam dökümü.', 'A full breakdown of the endpoints you can call right now.') }}
{{-- ─── Özet ─── --}}{{ ProductCatalog::text('apipanel-access-empty-text', 'Bir plan, kredi paketi veya tek endpoint için istek paketi alarak başlayın. Geo Location endpointleri her zaman ücretsizdir.', 'Start with a plan, a credit pack or a request pack for a single endpoint. Geo Location endpoints are always free.') }}
{{ t('apipanel-nav-store') }}{{ $product['tagline'] }}
{{ ProductCatalog::text('apipanel-access-balances-empty', 'Tek seferlik istek paketi bakiyeniz yok.', 'You have no one-time request pack balance.') }}
@else| {{ t('apipanel-usage-sku') }} | {{ ProductCatalog::text('apipanel-access-remaining', 'Kalan istek', 'Remaining requests') }} |
|---|---|
{{ $balance['name'] }}
{{ $balance['sku'] }}
|
{{ number_format($balance['remaining']) }} |
{{ ProductCatalog::text('apipanel-access-subscriptions-empty', 'Aylık endpoint aboneliğiniz yok.', 'You have no monthly endpoint subscription.') }}
@else| {{ t('apipanel-usage-sku') }} | {{ ProductCatalog::text('apipanel-access-period-quota', 'Dönem kotası', 'Period quota') }} | {{ ProductCatalog::text('apipanel-access-remaining', 'Kalan istek', 'Remaining requests') }} | {{ t('apipanel-stat-plan-until') }} |
|---|---|---|---|
{{ $subscription['name'] }}
{{ $subscription['sku'] }}
|
{{ number_format($subscription['quota']) }} | {{ number_format($subscription['remaining']) }} | {{ $subscription['ends_at'] ? $subscription['ends_at']->format('d.m.Y') : '—' }} |