@php $price_details = [ [ 'label' => 'Free updates', 'value' => 'Lifetime', ], [ 'label' => 'Support', 'value' => '6 months', ], [ 'label' => 'License', 'value' => 'Extended', ], [ 'label' => 'Installation', 'value' => 'One Click', ], ]; @endphp @extends('panel.layout.app', ['disable_tblr' => true]) @section('title', __('Marketplace')) @section('titlebar_actions')
{{ __('Manage Addons') }} {{ __('Browse Add-ons') }}
@endsection @section('content')

{{ $item['name'] }}

@if ($item['installed'] and $item['version'] == $item['db_version'])

{{ __('Installed') }}

@else {{ __('Upgrade') }} @endif
{{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}}

{{ __('Tested with MagicAI') }}

{{ number_format($item['review'], 1) }}

{{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}}

{{ __('Recently Updated') }}

{{ __('About this add-on') }}

{!! $item['detail'] !!}
@foreach ($item['categories'] as $tag)

{{ $tag }}

@endforeach
@if (!empty($item['questions']))

{{ __('Have a question?') }}

@foreach ($item['questions'] as $qaItem)
$loop->index != 0, 'lqd-is-active' => $loop->index == 0, ]) :class="{ 'hidden': activeIndex != {{ $loop->index }} }" >

{{ $qaItem['answer'] }}

@endforeach
@endif

{{ __('Limited Offer') }}

@if ($item['price'] != 0)

@if (currencyShouldDisplayOnRight(currency()['symbol'])) {{ $item['price'] }} $ @if ($item['fake_price'] ?? false) {{ $item['fake_price'] }}$ @endif @else ${{ $item['price'] }} @if ($item['fake_price'] ?? false) ${{ $item['fake_price'] }} @endif @endif

{{ __('For a limited time only') }}

@else

{{ __('Free') }}

@endif

{{ __('Price is in US dollars. Tax included.') }}

@if ($item['price'] != 0) @if ($app_is_demo) {{ __('Buy Now') }} @else @php $is_license = $item['licensed'] == 1; @endphp {{ __('Buy Now') }} @endif @else @if($item['installed']) @if($item['version'] == $item['db_version']) {{ __('Installed') }} @else {{ __('Upgrade') }} @endif @else {{ __('Install Now') }} @endif @endif

{{ __('Details') }}

@foreach ($price_details as $detail)

{{ __($detail['label']) }}

{{ __($detail['value']) }}

@endforeach
@endsection @push('script') @endpush