@extends('frontend.layouts.user.index') @section('title', __('Edit Merchant')) @push('styles') @endpush @section('content') @php $hasCurrencyChoices = $currencies->isNotEmpty(); $selectedCurrencyIds = collect(old('currency_ids', $merchant->supportedCurrencyIds())) ->map(fn ($id) => (int) $id) ->all(); $currencyCodes = $merchant->supportedCurrencies->pluck('code')->implode(', ') ?: $merchant->currency?->code; @endphp
{{ __('Payments') }} {{ __('Merchants') }}
{{ __('Profile refresh') }}

{{ __('Keep your checkout details sharp') }}

{{ __('Business identity or currency changes can move the merchant back to review, so keep updates intentional and accurate.') }}

1
{{ __('Update') }} {{ __('Profile') }}
2
{{ __('Review') }} {{ __('If needed') }}
3
{{ __('Operate') }} {{ __('Checkout') }}
@unless($hasCurrencyChoices) @endunless
@csrf @method('PUT')
{{ __('Review-sensitive changes') }} {{ __('Changing business identity or supported currencies sends the merchant back for admin approval to protect live checkout access.') }}
@foreach($currencies as $currency) @php $currencyInputId = 'merchant_currency_'.$currency->id; @endphp id, $selectedCurrencyIds, true)) @disabled(! $hasCurrencyChoices) > @endforeach
@error('currency_ids')
{{ $message }}
@enderror @error('currency_ids.*')
{{ $message }}
@enderror
{{ __('Save merchant changes') }} {{ __('Your checkout profile stays locked from rejected or disabled states and re-enters review when key business details change.') }}
@endsection