@extends('frontend.layouts.user.index') @section('title', __('QR Cash-Out')) @push('styles') @endpush @section('content') @php $currencyCodes = $agent->supportedCurrencies->pluck('code')->implode(', ') ?: $agent->currency?->code; $supportedCurrencyLabels = $agent->supportedCurrencies->isNotEmpty() ? $agent->supportedCurrencies->map(fn ($currency) => trim($currency->code.' - '.$currency->name))->values() : collect([$agent->currency?->code])->filter()->values(); @endphp
@can('agent') @endcan
{{ __('Approved Counter') }}
{{ $agent->agent_name }}
{{ __('Counter Name') }}

{{ $agent->agent_name }}

{{ __('Code') }} {{ $agent->agent_code }}

{{ __('Supported Wallets') }}
@foreach($supportedCurrencyLabels as $currencyLabel) {{ $currencyLabel }} @endforeach
{{ __('Before You Confirm') }}
  • {{ __('Match the counter name before entering your PIN.') }}
  • {{ __('Enter the exact cash amount you want to collect.') }}
  • {{ __('Show the generated reference to the counter agent.') }}
@if($wallets->isEmpty()) @else

{{ __('Cash-Out Details') }}

{{ __('Choose your wallet, confirm the amount, then collect cash after the counter verifies your reference.') }}

@csrf
@error('wallet_id')
{{ $message }}
@enderror
@error('amount')
{{ $message }}
@enderror
@error('wallet_pin')
{{ $message }}
@enderror
@error('note')
{{ $message }}
@enderror
{{ __('Ready to Collect Cash?') }} {{ __('Your wallet will be debited after PIN verification.') }}
@endif
@endsection