@extends('frontend.layouts.user.index') @section('title', __('Review Transfer')) @push('styles') @endpush @section('content')
@include('frontend.user.remittance.partials._page_header', [ 'rmtPageTitle' => __('Review Transfer'), 'rmtPageSubtitle' => __('Lock the rate and confirm details before sending.'), 'rmtPageIcon' => 'fas fa-circle-info', 'rmtCurrentPage' => 'review', ])
{{-- Rate Lock Banner --}} @php $secondsLeft = max(0, $quote->expires_at->diffInSeconds(now(), false) * -1); $isUrgent = $secondsLeft < 120; @endphp
{{ $isUrgent ? __('Rate expires soon') : __('Rate locked for this quote') }}
{{ __('Confirm now to keep') }} 1 {{ $quote->source_currency }} = {{ number_format($quote->exchange_rate, 4) }} {{ $quote->destination_currency }}
--:--
{{-- Summary Card --}}
{{ __('You send') }}
{{ number_format($quote->send_amount, 2) }} {{ $quote->source_currency }}
{{ __('Transfer fee') }}
{{ number_format($quote->fee_amount, 2) }} {{ $quote->source_currency }}
{{ __('You pay total') }}
{{ number_format($quote->total_pay, 2) }} {{ $quote->source_currency }}
{{ __('Exchange rate') }}
1 {{ $quote->source_currency }} = {{ number_format($quote->exchange_rate, 4) }} {{ $quote->destination_currency }}
{{ __('Recipient gets') }}
{{ number_format($quote->receive_amount, 2) }} {{ $quote->destination_currency }}
{{ __('Estimated arrival') }}
{{ __('within 30 minutes') }}
{{-- Confirm form --}}
@csrf
@error('wallet_id')
{{ $message }}
@enderror
@if ($beneficiaries->isEmpty())
{{ __('You have no recipient matching this country, currency, and payout method.') }} {{ __('Add one now') }}
@else @endif @error('beneficiary_id')
{{ $message }}
@enderror
{{ __('Add purpose & source of funds (optional)') }}
{{ __('Funds are debited only after you confirm.') }}
{{-- What happens next rail --}}
{{ __('What happens next') }}
1
{{ __('Wallet is debited') }}
{{ __('We hold the funds for the transfer.') }}
2
{{ __('We send to the payout partner') }}
{{ __('Usually within seconds of confirm.') }}
3
{{ __('Recipient is paid out') }}
{{ __('Most corridors arrive in 30 minutes.') }}
{{ __('Quote details') }}
{{ __('Quote ID:') }} {{ $quote->quote_id }}
{{ __('Locked rate:') }} 1 {{ $quote->source_currency }} = {{ number_format($quote->exchange_rate, 4) }}
@if ($quote->mid_market_rate)
{{ __('Mid-market reference:') }} {{ number_format($quote->mid_market_rate, 4) }}
@endif
{{ __('Payout method:') }} {{ $quote->payout_method->label() }}
@endsection @push('scripts') @endpush