@if (isset($packages, $paymentMethods) && $packages->count() > 0 && $paymentMethods->count() > 0)

{{ t('Premium Listing') }}

{{ t('premium_plans_hint') }}

@php $packageIdError = isset($errors) && $errors->has('package_id') ? ' is-invalid' : ''; @endphp
@foreach ($packages as $package) @php $packageStatus = ''; $badge = ''; if ($package->is_account_only) { $badge = ' Account Type'; if (!empty($currentPackageId) && $currentPackageId == $package->id && !$is_repost) { $badge .= ' ' . t('Current') . ''; } if(!empty($currentPackageId) && $currentPackageId == $package->id && $is_repost){ $badge .= ' Last Used '; } } else { if (isset($currentPackageId, $currentPackagePrice, $currentPaymentIsActive)) { if ($currentPackagePrice > $package->price) { $badge = ' ' . 'Downgrade' . ''; } elseif ($currentPackagePrice < $package->price) { if ($package->price > 0) { $badge = ' ' . t('Upgrade') . ''; } } if ($currentPackageId == $package->id) { $badge = ' ' . t('Current') . ''; if ($currentPaymentIsActive == 0) { $badge .= ' ' . t('Payment pending') . ''; } if (!empty($is_repost) && $is_repost == true) { $badge = ' Last Used '; } } } else { if ($package->price > 0) { $badge = ' ' . t('Upgrade') . ''; } } } @endphp @endforeach {{-- PAYMENT METHODS ROW --}}
id ? 'checked' : '' }} {{ $packageStatus }}>
    @foreach ((array) $package->description_array as $option)
  • * {!! $option !!}
  • @endforeach

@if ($package->currency->in_left) {!! $package->currency->symbol !!} @endif {{ $package->price }} @if (!$package->currency->in_left) {!! $package->currency->symbol !!} @endif

@includeFirst([ config('larapen.core.customizedViewPath') . 'post.createOrEdit.inc.payment-methods', 'post.createOrEdit.inc.payment-methods', ])

{{ t('Payable Amount') }}: 0

Saved Cards
@include('common.saved-card', [ 'btnText' => 'Pay & List', 'recurringPaymentOption' => true, ])
Pay with New Card +
@includeFirst([ config('larapen.core.customizedViewPath') . 'post.createOrEdit.inc.payment-methods.plugins', 'post.createOrEdit.inc.payment-methods.plugins', ])
@endif @section('after_styles') @parent @endsection @push('after_scripts_stack') @endpush