@section('title', __('dashboard::licenses.page_title') . ' - FuelPlus') @section('page-title', __('dashboard::licenses.page_title')) @section('page-description', __('dashboard::licenses.page_description')) @if(session('success'))

{{ session('success') }}

@endif
{{ __('dashboard::licenses.create_title') }}
@forelse($licenseTypes as $type) @empty @endforelse
{{ __('dashboard::licenses.table.name') }} {{ __('dashboard::licenses.table.issuing_authority') }} {{ __('dashboard::licenses.labels.applies_to') ?? 'Applies To' }} {{ __('dashboard::licenses.table.validity_period') }} {{ __('dashboard::licenses.table.is_mandatory') }} {{ __('dashboard::licenses.labels.renewal_cost') ?? 'Renewal Cost' }} {{ __('dashboard::licenses.table.status') }} {{ __('dashboard::licenses.table.actions') }}
{{ $type->name }}
@if($type->name_en)
{{ $type->name_en }}
@endif
{{ $type->issuingAuthority->name ?? '-' }} {{ $appliesTo[$type->applies_to] ?? $type->applies_to }} {{ $type->default_validity_months }} {{ __('dashboard::licenses.validity.months', ['count' => $type->default_validity_months]) }} @if($type->is_mandatory) {{ __('dashboard::status.mandatory') }} @else {{ __('dashboard::status.optional') }} @endif {{ $type->default_renewal_cost ? number_format($type->default_renewal_cost) . ' ' . __('dashboard::app.currency_symbol') : '-' }} {{ $type->is_active ? __('dashboard::status.active') : __('dashboard::status.inactive') }}
@csrf @method('PATCH')

{{ __('dashboard::licenses.empty.title') }}

@if($licenseTypes->hasPages())
{{ $licenseTypes->links() }}
@endif