@extends('panel.layout.app') @section('title', 'Marketplace Payment') @section('titlebar_actions', '') @section('content')

{{ $success ? __('Payment Success') : __('Payment Failed') }}

{{ __('Add-on') }}

{{ $theme->name }}

{{ __('Total') }}:

@if (currencyShouldDisplayOnRight(currency()->symbol)) {{ $theme->price }}{{ currency()->symbol }} @else {{ currency()->symbol }}{{ $theme->price }} @endif

@if ($success) @lang('Your payment is success, you can install your theme.') @php if ($theme->slug == 'default') { $is_active = setting('front_theme') == 'default' && setting('dash_theme') == 'default'; } else { $is_active = setting('front_theme') == $theme->slug || setting('dash_theme') == $theme->slug; } @endphp {{ $is_active ? 'Activated' : 'Activate' }} @else @lang('Your payment is unsuccessful') @if ($app_is_demo) {{ __('Buy Now') }} @else @php $is_license = $theme->licensed == 1; @endphp {{ __('Buy Now') }} @endif @endif
@endsection @push('script') @endpush