1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Update pay.blade.php

Added ctrans() features as per request https://github.com/invoiceninja/invoiceninja/pull/9704#discussion_r1693682268

Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
Kendall Arneaud 2024-07-27 12:48:58 -04:00 committed by GitHub
parent 08f762e31f
commit 9ae58c4b94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Direct Debit', 'card_title' => 'Direct Debit'])
@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.direct_debit'), 'card_title' => ctrans('texts.direct_debit') ])
@section('gateway_content')
@if (count($tokens) > 0)
@ -14,7 +14,6 @@
<input type="hidden" name="amount" value="{{ $amount }}">
<input type="hidden" name="currency" value="{{ $currency }}">
<input type="hidden" name="payment_hash" value="{{ $payment_hash }}">
<input type="hidden" name="token_id" value="">
<input type="hidden" name="frequency" value="Once">
<input type="hidden" name="installments" value="1">
<input type="hidden" name="comment" value="Payment for invoice # {{ $invoice_nums }}">
@ -27,13 +26,13 @@
class="form-radio cursor-pointer toggle-payment-with-token" />
<span class="ml-1 cursor-pointer">
{{ App\Models\GatewayType::getAlias($token->gateway_type_id) }} ({{ $token->meta->brand }})
&nbsp; Acc#: {{ $token->meta->account_number }}
&nbsp; {{ ctrans('texts.account_number') }}#: {{ $token->meta->account_number }}
</span>
</label><br/>
@endforeach
@endisset
<dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
Process Date
{{ ctrans('texts.process_date') }}
</dt>
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
<input autocomplete="new-password" readonly type="date" min="{{ $due_date }}" name="process_date" id="process_date" required class="input w-full" placeholder="" value="{{ old('process_date', $process_date ) }}">