From 32f39d9e6d18a736aea176023473f8305193995c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 14 Dec 2021 22:02:53 +1100 Subject: [PATCH] Set locale --- app/Services/Invoice/AddGatewayFee.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/Invoice/AddGatewayFee.php b/app/Services/Invoice/AddGatewayFee.php index b63f7a43e4d9..d5699234be05 100644 --- a/app/Services/Invoice/AddGatewayFee.php +++ b/app/Services/Invoice/AddGatewayFee.php @@ -77,6 +77,7 @@ class AddGatewayFee extends AbstractService App::forgetInstance('translator'); $t = app('translator'); $t->replace(Ninja::transformTranslations($this->invoice->company->settings)); + App::setLocale($this->invoice->client->locale()); $invoice_item = new InvoiceItem; $invoice_item->type_id = '3';