@extends('layouts.app', ['title' => __('Settings'), 'hideActions'=>true]) @section('js') @endsection @section('content')

{{ __('Apps') }}

@if (config('settings.is_demo') | config('settings.is_demo')) @else @endif
@include('partials.flash')
@csrf
@if(empty($apps))

{{ __("There are no apps at the moment")}}

@endif @foreach ($apps as $app)
{{ $app->name }}
{{ $app->name }} - {{ $app->price }} @if ($app->installed){{ __('installed')}} v{{$app->version}}@endif
@if ($app->installed&&!$app->updateAvailable) {{ __('Latest version')}} @endif

{{ $app->description }}

@if ($app->installed) {{ __('Settings')}} @if ($app->updateAvailable&&isset($app->file)) @if (!config('settings.is_demo',false)) ⬇️ {{ __('New update')}} v{{$app->latestVersion}} @endif @endif @if ($app->updateAvailable&&isset($app->link)) @if (!config('settings.is_demo',false)) ⬇️ {{ __('New update')}} v{{$app->latestVersion}} @endif @endif @else @if (isset($app->file)) @if (!config('settings.is_demo',false)) {{ __('Download') }} @endif @else @if (isset($app->paddle)) @if (isset($app->discount_code)) {{ __('Buy with discount')." - ".$app->price }} @else {{ __('Buy now')." - ".$app->price }} @endif @elseif(isset($app->link)&&strlen($app->link)>3) {{ __('Buy now')." - ".$app->price }} @endif @if (isset($app->ppfolder)) {{ __('Download update') }} @endif @endif @endif @if (isset($app->docs)) {{ __('Docs') }} @endif @if (isset($app->video)) {{ __('Video') }} @endif @if (isset($app->demo)) {{ __('Demo') }} @endif
@endforeach
@endsection