1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Default to blank country/currency for Stripe ACH

This commit is contained in:
Benjamin Beganović 2021-09-28 11:30:50 +02:00
parent 1f50512b89
commit 9002b622ae

View File

@ -43,7 +43,8 @@
@endcomponent @endcomponent
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.country')]) @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.country')])
<select name="countries" id="country" class="form-select input w-full" required> <select name="countries" id="country" class="form-select input w-full">
<option disabled selected></option>
@foreach($countries as $country) @foreach($countries as $country)
<option value="{{ $country->iso_3166_2 }}">{{ $country->iso_3166_2 }} ({{ $country->name }})</option> <option value="{{ $country->iso_3166_2 }}">{{ $country->iso_3166_2 }} ({{ $country->name }})</option>
@endforeach @endforeach
@ -52,6 +53,7 @@
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.currency')]) @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.currency')])
<select name="currencies" id="currency" class="form-select input w-full"> <select name="currencies" id="currency" class="form-select input w-full">
<option disabled selected></option>
@foreach($currencies as $currency) @foreach($currencies as $currency)
<option value="{{ $currency->code }}">{{ $currency->code }} ({{ $currency->name }})</option> <option value="{{ $currency->code }}">{{ $currency->code }} ({{ $currency->name }})</option>
@endforeach @endforeach