@extends('backend.p2p.layout') @section('title', __('Marketplace Settings')) @section('p2p_title') {{ __('Marketplace Settings') }} @endsection @section('p2p_icon', 'cil-settings') @php $allowedSelected = old('allowed_countries', $allowedSelected ?? []); $blockedSelected = old('blocked_countries', $blockedSelected ?? []); $makerFee = old('maker_fee_pct', $settings->maker_fee_pct); $takerFee = old('taker_fee_pct', $settings->taker_fee_pct); $orderExpiry = old('order_expiry_minutes', $settings->order_expiry_minutes); $disputeWindow = old('dispute_window_minutes', $settings->dispute_window_minutes); $minAmount = old('min_amount', $settings->min_amount); $maxAmount = old('max_amount', $settings->max_amount); $p2pEnabled = (bool) ($settings->enabled ?? false); $currencyCode = siteCurrency('code') ?? 'BDT'; $allowedCount = count($allowedSelected); $blockedCount = count($blockedSelected); $updatedAgo = $settings->updated_at ? $settings->updated_at->diffForHumans() : __('never'); @endphp @section('p2p_action') @lang('Back to dashboard') @endsection @section('p2p_content')
@lang('Trading availability is controlled by the platform feature flag, not from this page. To toggle, use the')
p2p_marketplace @lang('feature in admin → Feature management.')