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

{{ __('Addons Marketplace') }}

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

{{ $addon['name'] }}

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