@extends("agentportal.layouts.layout") @section("title", trans("message_lang.LBL_LOCATION_REPAYMENT")) @section("page_style")
@endsection @section("content") @php $location_id = $request->location_id?base64_decode($request->location_id):''; @endphp
{!! trans("message_lang.LBL_LOCATION_REPAYMENT") !!}
@if(!in_array("", [$location_id]))
{{ trans('message_lang.BTN_BACK') }}
@else
{{ trans('message_lang.BTN_BACK') }}
@endif
@csrf
{!! trans("message_lang.LBL_COUNTRY") !!}
*
{!! trans('message_lang.PLACEHOLDER_SELECT') !!}
@foreach ($agentCountries as $key => $agentCountry)
guard('agentportal')->user()->agentLocation->country_id == $key) selected @endif @endhasanyrole @if (old('agent_country_id') == $key) selected @endif>{{ $agentCountry }}
@endforeach
@error('agent_country_id')
{{ $message }}
@enderror
{!! trans("message_lang.LBL_LOCATION") !!}
*
{!! trans('message_lang.PLACEHOLDER_SELECT') !!}
@foreach ($agentLocations as $key => $agentLocation)
guard('agentportal')->user()->agent_location_id == $key) selected @endif @endhasanyrole @if (old('agent_location_id') == $key) selected @endif>{{ $agentLocation }}
@endforeach
@error('agent_location_id')
{{ $message }}
@enderror
{!! trans("message_lang.LBL_AMOUNT") !!}
*
@error('amount')
{{ $message }}
@enderror
{!! trans("message_lang.LBL_REFERENCE") !!}
@error('reference')
{{ $message }}
@enderror
@endsection @section("page_vendors") @endsection @section("page_script") @endsection