@extends('frontend.layouts.user.index') @section('title', __('Promote Trade Ad #').$offer->id) @section('content') {{-- Trade Ad Promotion Screen: plan selection, wallet selection, live quote, and summary preview --}} @php $promotion = $offer->promotion; $decimals = (int) setting('site_decimal', 2); $isActive = $promotion && $promotion->status === \App\Enums\P2P\PromotionStatus::ACTIVE && $promotion->ends_at && $promotion->ends_at->isFuture(); @endphp
@lang('Back')
@if($isActive)
@lang('This trade ad is currently promoted')
@lang('Current expiry:') {{ $promotion->ends_at->format('Y-m-d H:i') }}
@lang('Buying another plan will extend the promotion time.')
@else
@lang('Boost your trade ad')
@lang('Choose a plan and pay from your selected wallet. Price will be auto-converted to wallet currency.')
@endif
@csrf
@error('package_id')
{{ $message }}
@enderror
@error('wallet_id')
{{ $message }}
@enderror
@lang('Promotion Summary')
@lang('Select a plan to see details')
@lang('Base Price') -
@lang('You Pay') -
@lang('Duration') -
@lang('Applies To') -
@lang('Search Priority') -
@lang('Enabled Features')
@lang('Other Rules')
-
@lang('Cancel')
@endsection {{-- Promotion Script: selected plan preview, wallet quote refresh, and submit state control --}} @push('scripts') @include('frontend.user.p2p.trade_ads.partials._promote_trade_ad_scripts') @endpush