@extends('panel.layout.app', ['disable_tblr' => true]) @section('title', __('Subscriptions and Packs')) @section('titlebar_actions')
{{ __('Create New Subscription') }} {{ __('Create New Token Pack') }}
@endsection @section('content')
@if ($settings_two->liquid_license_type != 'Extended License')
{{ __('To access this page, you should upgrade to Extended License.') }} {{ __('Upgrade License') }}
@else @if ($gatewayError == true)
{{ __('Gateway is set to use sandbox. Please set mode to development!') }}
@endif {{ __('Status') }} {{ __('Type') }} {{ __('Name') }} {{ __('Price') }} {{ __('Total Words') }} {{ __('Total Images') }} {{ __('Frequency') }} {{ __('Updated At') }} {{ __('Actions') }} @foreach ($plans as $entry) {{ $entry->active == 1 ? __('Active') : __('Passive') }} {{ $entry->type == 'prepaid' ? __('Token Pack') : __('Subscription') }} {{ $entry->name }} {{ $entry->price }} {{ (int) $entry->total_words >= 0 ? $entry->total_words : __('Unlimited') }} {{ (int) $entry->total_images >= 0 ? $entry->total_images : __('Unlimited') }} {{ $entry->type == 'prepaid' ? __('One Time') : __(formatCamelCase($entry->frequency)) }}

{{ date('j.n.Y', strtotime($entry->updated_at)) }} {{ date('H:i:s', strtotime($entry->updated_at)) }}

@if ($app_is_demo) @else @endif @endforeach
@endif
@endsection