@extends('layout.v2') @section('content')

{{ $mainTitle }}

{{ $subTitle }}

@if($flow === 'eb') Select your country and the bank you would like to import from using Enable Banking. @else Select your country and the bank you would like to import from. If you would like some support, check out the documentation for this page. @endif

@if(!$errors->isEmpty())
Errors

Some error(s) occurred:

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Select country
Which country is your bank in?
@if($flow === 'eb' && $response !== null) {{-- Enable Banking: single country's banks --}}
Select your bank in {{ $selectedCountry }}
@elseif($flow === 'nordigen') {{-- GoCardless: all countries with banks pre-loaded --}} @foreach($response as $country)
Select your bank in {{ $country->code }}
@endforeach @endif
Select a bank
(Please select a country first)
Number of days the connection is valid
@if($flow === 'eb') Session validity is determined by the selected bank. @else The connection to your bank can be recycled for this number of days. It will be stored in the import configuration file. Keep in mind most banks don't support more than 90 days. @endif
Submit!
@endsection @section('scripts') @vite(['src/pages/selection/bank-selection.js']) @endsection