mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Merge pull request #6348 from turbo124/v5-develop
Fixes for live preview
This commit is contained in:
commit
0d26f35a25
@ -203,7 +203,7 @@ class PreviewController extends BaseController
|
||||
|
||||
App::forgetInstance('translator');
|
||||
$t = app('translator');
|
||||
App::setLocale($entity_obj->client->primary_contact()->first()->preferredLocale());
|
||||
App::setLocale($entity_obj->client->contacts()->first()->preferredLocale());
|
||||
$t->replace(Ninja::transformTranslations($entity_obj->client->getMergedSettings()));
|
||||
|
||||
$html = new HtmlEngine($entity_obj->invitations()->first());
|
||||
|
Loading…
Reference in New Issue
Block a user