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

Adapted base files

This commit is contained in:
Lars Kusch 2021-10-12 16:15:09 +02:00
parent aba570a2e5
commit 175552b77f
2 changed files with 3 additions and 2 deletions

View File

@ -49,6 +49,7 @@ class BECS
'amount' => $data['stripe_amount'], 'amount' => $data['stripe_amount'],
'currency' => 'eur', 'currency' => 'eur',
'payment_method_types' => ['au_becs_debit'], 'payment_method_types' => ['au_becs_debit'],
'setup_future_usage' => 'off_session',
'customer' => $this->stripe->findOrCreateCustomer(), 'customer' => $this->stripe->findOrCreateCustomer(),
'description' => $this->stripe->decodeUnicodeString(ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number')), 'description' => $this->stripe->decodeUnicodeString(ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number')),

View File

@ -10,10 +10,10 @@
<input type="hidden" name="store_card"> <input type="hidden" name="store_card">
<label for="becs-name"> <label for="becs-name">
<input class="input w-full" id="becs-name" type="text" placeholder="{{ ctrans('texts.bank_account_holder') }}"> <input class="input w-full" id="becs-name" type="text" placeholder="{{ ctrans('texts.bank_account_holder') }}" required>
</label> </label>
<label for="becs-email" > <label for="becs-email" >
<input class="input w-full" id="becs-email-address" type="email" placeholder="{{ ctrans('texts.email') }}"> <input class="input w-full" id="becs-email-address" type="email" placeholder="{{ ctrans('texts.email') }}" required>
</label> </label>
<label> <label>
<div class="border p-4 rounded"> <div class="border p-4 rounded">