Added required input views

This commit is contained in:
Lars Kusch 2021-10-06 15:23:19 +02:00
parent 789f2bfa0a
commit 5e0aaa45b5
2 changed files with 14 additions and 2 deletions

View File

@ -1779,7 +1779,7 @@ $LANG = array(
'lang_Bulgarian' => 'Bulgarian',
'lang_Russian (Russia)' => 'Russian (Russia)',
// Industries
'industry_Accounting & Legal' => 'Accounting & Legal',
'industry_Advertising' => 'Advertising',
@ -4316,6 +4316,7 @@ $LANG = array(
'payment_method_cannot_be_preauthorized' => 'This payment method cannot be preauthorized.',
'kbc_cbc' => 'KBC/CBC',
'bancontact' => 'Bancontact',
'sepa_mandat' => 'By providing your IBAN and confirming this payment, you are authorizing Rocketship Inc. and Stripe, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.',
);
return $LANG;

View File

@ -1,5 +1,16 @@
<div id="stripe--payment-container">
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.name')])
<input class="input w-full" id="cardholder-name" type="text" placeholder="{{ ctrans('texts.name') }}">
<label for="sepa-name">
<input class="input w-full" id="sepa-name" type="text" placeholder="{{ ctrans('texts.name') }}">
</label>
<label for="sepa-email">
<input class="input w-full" id="sepa-email-address" type="email" placeholder="{{ ctrans('texts.email') }}">
</label>
<label for="sepa-iban">
<input class="input w-full" id="sepa-iban" type="text">
</label>
<div id="mandate-acceptance">
{{ctrans('texts.sepa_mandat')}}
</div>
@endcomponent
</div>