@extends('layouts.admin') @section('title', $pageTitle) @section('content') @include('include.admin.toast')
@forelse ($plugins as $plugin) @empty @endforelse
{{ __('SR No') }} {{ __('Product Name') }} {{ __('Domain') }} {{ __('Token') }} {{ __('Status') }} {{ __('Created') }} {{ __('Action') }}
{{ $plugins->firstItem() + $loop->index }} {{ $plugin->product_name ?? '-' }} {{ $plugin->domain ?? '-' }}
{{ $plugin->token ?? '-' }} @if ($plugin->token) @endif
status === 'active' ? 'checked' : '' }}>
{{ $plugin->created_at->diffForHumans() }} {{ __('Edit') }} {{ __('Delete') }}
{{ __('No Records Found') }}
@if ($plugins->hasPages())
{{ $plugins->links('pagination::bootstrap-5') }}
@endif

{{ __('Plugin Marketplace') }}

{{ __('Explore available plugins and see what is already installed on your system.') }}
{{ count($installedPluginIds) }} / {{ count($availablePlugins) }} {{ __('Installed') }}
@foreach ($availablePlugins as $addonId => $addon) @php $isInstalled = in_array((string) $addonId, $installedPluginIds); @endphp
{{-- Image --}}
{{-- Name + Description --}}

{{ $addon['name'] }}

@if ($isInstalled) {{ __('Installed') }} @else {{ __('Available') }} @endif
{{ $addon['description'] ?? __('No description available for this addon.') }}
{{-- Action Button --}}
@if ($isInstalled) @else {{ __('Buy Now') }} @endif
@endforeach
@endsection