mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Improve ACH verification text
This commit is contained in:
parent
dcc724b667
commit
bc0f81b55a
@ -231,12 +231,14 @@ class PaymentEmailEngine extends BaseEmailEngine
|
|||||||
|
|
||||||
$data['$view_link'] = ['value' => '<a class="button" href="'.$this->payment->getLink().'">'.ctrans('texts.view_payment').'</a>', 'label' => ctrans('texts.view_payment')];
|
$data['$view_link'] = ['value' => '<a class="button" href="'.$this->payment->getLink().'">'.ctrans('texts.view_payment').'</a>', 'label' => ctrans('texts.view_payment')];
|
||||||
$data['$view_button'] = &$data['$view_link'];
|
$data['$view_button'] = &$data['$view_link'];
|
||||||
|
$data['$viewLink'] = &$data['$view_link'];
|
||||||
$data['$paymentLink'] = &$data['$view_link'];
|
$data['$paymentLink'] = &$data['$view_link'];
|
||||||
$data['$portalButton'] = ['value' => "<a href='{$this->payment->getPortalLink()}'>".ctrans('texts.login')."</a>", 'label' =>''];
|
$data['$portalButton'] = ['value' => "<a href='{$this->payment->getPortalLink()}'>".ctrans('texts.login')."</a>", 'label' =>''];
|
||||||
$data['$portal_url'] = &$data['$portalButton'];
|
$data['$portal_url'] = &$data['$portalButton'];
|
||||||
|
|
||||||
$data['$view_url'] = ['value' => $this->payment->getLink(), 'label' => ctrans('texts.view_payment')];
|
$data['$view_url'] = ['value' => $this->payment->getLink(), 'label' => ctrans('texts.view_payment')];
|
||||||
$data['$signature'] = ['value' => $this->settings->email_signature ?: ' ', 'label' => ''];
|
$data['$signature'] = ['value' => $this->settings->email_signature ?: ' ', 'label' => ''];
|
||||||
|
$data['$emailSignature'] = &$data['$signature'];
|
||||||
|
|
||||||
$data['$invoices'] = ['value' => $this->formatInvoices(), 'label' => ctrans('texts.invoices')];
|
$data['$invoices'] = ['value' => $this->formatInvoices(), 'label' => ctrans('texts.invoices')];
|
||||||
$data['$invoice_references'] = ['value' => $this->formatInvoiceReferences(), 'label' => ctrans('texts.invoices')];
|
$data['$invoice_references'] = ['value' => $this->formatInvoiceReferences(), 'label' => ctrans('texts.invoices')];
|
||||||
|
@ -541,7 +541,6 @@ class HtmlEngine
|
|||||||
$data['$payments'] = ['value' => $payment_list, 'label' => ctrans('texts.payments')];
|
$data['$payments'] = ['value' => $payment_list, 'label' => ctrans('texts.payments')];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$arrKeysLength = array_map('strlen', array_keys($data));
|
$arrKeysLength = array_map('strlen', array_keys($data));
|
||||||
array_multisort($arrKeysLength, SORT_DESC, $data);
|
array_multisort($arrKeysLength, SORT_DESC, $data);
|
||||||
|
|
||||||
|
@ -4279,7 +4279,7 @@ $LANG = array(
|
|||||||
'company_import_failure_subject' => 'Error importing :company',
|
'company_import_failure_subject' => 'Error importing :company',
|
||||||
'company_import_failure_body' => 'There was an error importing the company data, the error message was:',
|
'company_import_failure_body' => 'There was an error importing the company data, the error message was:',
|
||||||
'recurring_invoice_due_date' => 'Due Date',
|
'recurring_invoice_due_date' => 'Due Date',
|
||||||
'amount_cents' => 'Amount in pennies,pence or cents',
|
'amount_cents' => 'Amount in pennies,pence or cents. ie for $0.10 please enter 10',
|
||||||
'default_payment_method_label' => 'Default Payment Method',
|
'default_payment_method_label' => 'Default Payment Method',
|
||||||
'default_payment_method' => 'Make this your preferred way of paying.',
|
'default_payment_method' => 'Make this your preferred way of paying.',
|
||||||
'already_default_payment_method' => 'This is your preferred way of paying.',
|
'already_default_payment_method' => 'This is your preferred way of paying.',
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<input type="hidden" name="source" value="{{ $token->token }}">
|
<input type="hidden" name="source" value="{{ $token->token }}">
|
||||||
|
|
||||||
@component('portal.ninja2020.components.general.card-element', ['title' => '#1 ' . ctrans('texts.amount_cents')])
|
@component('portal.ninja2020.components.general.card-element', ['title' => '#1 ' . ctrans('texts.amount_cents')])
|
||||||
<input type="text" name="transactions[]" class="w-full input" required dusk="verification-1st" value="{{ old('transactions.0') }}">
|
<input type="number" pattern="[0-9]" min="1" step="1" name="transactions[]" class="w-full input" required dusk="verification-1st" value="{{ old('transactions.0') }}">
|
||||||
|
|
||||||
@error('transactions.0')
|
@error('transactions.0')
|
||||||
<div class="validation validation-fail">
|
<div class="validation validation-fail">
|
||||||
@ -21,7 +21,7 @@
|
|||||||
@endcomponent
|
@endcomponent
|
||||||
|
|
||||||
@component('portal.ninja2020.components.general.card-element', ['title' => '#2 ' . ctrans('texts.amount_cents')])
|
@component('portal.ninja2020.components.general.card-element', ['title' => '#2 ' . ctrans('texts.amount_cents')])
|
||||||
<input type="text" name="transactions[]" class="w-full input" required dusk="verification-2nd" value="{{ old('transactions.1') }}">
|
<input type="number" pattern="[0-9]" min="1" step="1" name="transactions[]" class="w-full input" required dusk="verification-2nd" value="{{ old('transactions.1') }}">
|
||||||
|
|
||||||
@error('transactions.1')
|
@error('transactions.1')
|
||||||
<div class="validation validation-fail">
|
<div class="validation validation-fail">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user