From 7144e106542745b6a5da5f3702c9fe4df449911a Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Wed, 13 Mar 2024 10:34:36 +0100 Subject: [PATCH] Aktualisieren von CreateEDocument.php --- app/Jobs/EDocument/CreateEDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/EDocument/CreateEDocument.php b/app/Jobs/EDocument/CreateEDocument.php index f8e0dba24af5..59226608316c 100644 --- a/app/Jobs/EDocument/CreateEDocument.php +++ b/app/Jobs/EDocument/CreateEDocument.php @@ -54,7 +54,7 @@ class CreateEDocument implements ShouldQueue /* Init a new copy of the translator*/ $t = app('translator'); /* Set the locale*/ - $settings_entity = ($this->document Instanceof PurchaseOrder) ? $this->document->vendor : $this->document->client; + $settings_entity = ($this->document instanceof PurchaseOrder) ? $this->document->vendor : $this->document->client; App::setLocale($$settings_entity->locale()); /* Set customized translations _NOW_ */