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

Update form field to use states

This commit is contained in:
Benjamin Beganović 2021-08-30 12:28:34 +02:00
parent 7be6252233
commit 631814db26

View File

@ -72,7 +72,11 @@
@endcomponent
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.state')])
<input class="input w-full" id="billing-region" type="text" required>
<select class="input w-full" id="billing-region">
@foreach(\App\DataProviders\USStates::get() as $code => $state)
<option value="{{ $code }}">{{ $state }} ({{ $code }})</option>
@endforeach
</select>
@endcomponent
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.postal_code')])