mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add translation
This commit is contained in:
parent
eecc2bb8af
commit
40a78a4336
@ -62,7 +62,7 @@ class CreditCard
|
||||
|
||||
// $description = $this->stripe->decodeUnicodeString(ctrans('texts.invoices') . ': ' . collect($data['invoices'])->pluck('invoice_number')) . " for client {$this->stripe->client->present()->name()}";
|
||||
$invoice_numbers = collect($data['invoices'])->pluck('invoice_number')->implode(',');
|
||||
$description = "Invoices: {$invoice_numbers} for {$data['total']['amount_with_fee']} for client {$this->stripe->client->present()->name()}";
|
||||
$description = ctrans('text.stripe_paymenttext', ['invoicenumber' => $invoice_numbers, 'amount' => $data['total']['amount_with_fee'], 'client' => $this->stripe->client->present()->name()]);
|
||||
|
||||
$payment_intent_data = [
|
||||
'amount' => $this->stripe->convertToStripeAmount($data['total']['amount_with_fee'], $this->stripe->client->currency()->precision, $this->stripe->client->currency()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user