@extends('frontend.layouts.user.index') @section('title', __('Send Money Abroad')) @push('styles') @endpush @section('content') @include('frontend.user.partials._feature_summary_statistics', ['trxType' => \App\Enums\TrxType::REMITTANCE_SEND])
@include('frontend.user.remittance.partials._page_header', [ 'rmtPageTitle' => __('Send Money Abroad'), 'rmtPageSubtitle' => __('Live rates. No hidden fees. Track every step.'), 'rmtPageIcon' => 'fas fa-globe', 'rmtCurrentPage' => 'create', ])
@if ($corridors->isEmpty()) @else
@csrf @if ($preselectedBeneficiary && ! $suggestedCorridor)
{{ __('No active corridor matches :name (:currency). Please contact support.', [ 'name' => $preselectedBeneficiary->full_name, 'currency' => $preselectedBeneficiary->currency, ]) }}
@endif {{-- 1. Country / Corridor --}}
{{-- Quick chips --}}
@foreach ($corridors->take(6) as $quick) @endforeach
{{-- Full corridor select --}} @error('corridor_id')
{{ $message }}
@enderror
{{-- 2. Amount field --}}
🇺🇸 USD
{{ __('Recipient gets') }}
{{ __('Exchange rate') }}
{{ __('Quote on next step') }}
{{ __('Fee') }} {{ __('Rate locks for') }}
@error('send_amount')
{{ $message }}
@enderror
{{-- 3. Payout methods --}}
{{ __('Pick a corridor above to load supported payout methods.') }}
@error('payout_method')
{{ $message }}
@enderror
{{-- 4. Recipient picker --}}
@if ($beneficiaries->isEmpty()) {{-- Premium empty-state card — clear next action, fills the row --}} {{ __('Add your first recipient') }} {{ __('Save a bank account or mobile wallet to send abroad in seconds.') }} {{ __('Add') }} @else
@foreach ($beneficiaries as $i => $beneficiary) @php $tones = ['indigo','rose','amber','teal','violet','sky']; $tone = $tones[$i % count($tones)]; $initials = collect(explode(' ', $beneficiary->full_name))->map(fn ($w) => mb_substr($w, 0, 1))->take(2)->implode(''); @endphp @endforeach
{{ __('New') }}
{{ __('No saved recipient matches this corridor and payout method. Add a matching recipient or continue without selecting one.') }}
@endif @error('beneficiary_id')
{{ $message }}
@enderror
{{-- Footer --}}
{{ __('Protected by :site_title Safeguard', ['site_title' => setting('site_title')]) }}
@endif
{{-- Right rail --}}
@if ($primaryWallet)
{{ __('Funding wallet') }}
{{ $primaryWallet->currency->code }} {{ __('Wallet') }}
{{ $primaryWallet->currency->symbol ?? '' }}{{ number_format((float) $primaryWallet->balance, 2) }}
{{ __('Available balance') }}
{{ __('Top up') }}
@endif
{{ __('Why :site_title', ['site_title' => setting('site_title')]) }}
{{ __('Money arrives in minutes') }}
{{ __('Most corridors < 30 min') }}
{{ __('Always show real fees') }}
{{ __('No hidden FX margin') }}
{{ __('Bank-grade encryption') }}
{{ __('KYC verified · audited') }}
@endsection @push('scripts') @endpush