mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Aktualisieren von CreateEDocument.php
This commit is contained in:
parent
9a286f65e6
commit
7144e10654
@ -54,7 +54,7 @@ class CreateEDocument implements ShouldQueue
|
|||||||
/* Init a new copy of the translator*/
|
/* Init a new copy of the translator*/
|
||||||
$t = app('translator');
|
$t = app('translator');
|
||||||
/* Set the locale*/
|
/* 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());
|
App::setLocale($$settings_entity->locale());
|
||||||
|
|
||||||
/* Set customized translations _NOW_ */
|
/* Set customized translations _NOW_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user