mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Translate 'invoices' for Mollie descriptions
This commit is contained in:
parent
d216f82538
commit
fb74420ae5
@ -78,7 +78,7 @@ class Bancontact implements MethodInterface
|
|||||||
'currency' => $this->mollie->client->currency()->code,
|
'currency' => $this->mollie->client->currency()->code,
|
||||||
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
||||||
],
|
],
|
||||||
'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
'description' => \sprintf('%s: %s', ctrans('texts.invoices'), \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
||||||
'redirectUrl' => route('client.payments.response', [
|
'redirectUrl' => route('client.payments.response', [
|
||||||
'company_gateway_id' => $this->mollie->company_gateway->id,
|
'company_gateway_id' => $this->mollie->company_gateway->id,
|
||||||
'payment_hash' => $this->mollie->payment_hash->hash,
|
'payment_hash' => $this->mollie->payment_hash->hash,
|
||||||
|
@ -81,7 +81,7 @@ class BankTransfer implements MethodInterface
|
|||||||
'currency' => $this->mollie->client->currency()->code,
|
'currency' => $this->mollie->client->currency()->code,
|
||||||
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
||||||
],
|
],
|
||||||
'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
'description' => \sprintf('%s: %s', ctrans('texts.invoices'), \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
||||||
'redirectUrl' => route('client.payments.response', [
|
'redirectUrl' => route('client.payments.response', [
|
||||||
'company_gateway_id' => $this->mollie->company_gateway->id,
|
'company_gateway_id' => $this->mollie->company_gateway->id,
|
||||||
'payment_hash' => $this->mollie->payment_hash->hash,
|
'payment_hash' => $this->mollie->payment_hash->hash,
|
||||||
|
@ -78,7 +78,7 @@ class IDEAL implements MethodInterface
|
|||||||
'currency' => $this->mollie->client->currency()->code,
|
'currency' => $this->mollie->client->currency()->code,
|
||||||
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
||||||
],
|
],
|
||||||
'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
'description' => \sprintf('%s: %s', ctrans('texts.invoices'), \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
||||||
'redirectUrl' => route('client.payments.response', [
|
'redirectUrl' => route('client.payments.response', [
|
||||||
'company_gateway_id' => $this->mollie->company_gateway->id,
|
'company_gateway_id' => $this->mollie->company_gateway->id,
|
||||||
'payment_hash' => $this->mollie->payment_hash->hash,
|
'payment_hash' => $this->mollie->payment_hash->hash,
|
||||||
|
@ -78,7 +78,7 @@ class KBC implements MethodInterface
|
|||||||
'currency' => $this->mollie->client->currency()->code,
|
'currency' => $this->mollie->client->currency()->code,
|
||||||
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
'value' => $this->mollie->convertToMollieAmount((float) $this->mollie->payment_hash->data->amount_with_fee),
|
||||||
],
|
],
|
||||||
'description' => \sprintf('Invoices: %s', \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
'description' => \sprintf('%s: %s', ctrans('texts.invoices'), \implode(', ', collect($data['invoices'])->pluck('invoice_number')->toArray())),
|
||||||
'redirectUrl' => route('client.payments.response', [
|
'redirectUrl' => route('client.payments.response', [
|
||||||
'company_gateway_id' => $this->mollie->company_gateway->id,
|
'company_gateway_id' => $this->mollie->company_gateway->id,
|
||||||
'payment_hash' => $this->mollie->payment_hash->hash,
|
'payment_hash' => $this->mollie->payment_hash->hash,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user