mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #5628 from beganovich/v5-0605-translated-company-country
Use translated country names for company on PDF
This commit is contained in:
commit
a2ed09ab95
@ -460,7 +460,7 @@ class HtmlEngine
|
|||||||
$country = Country::find($this->settings->country_id);
|
$country = Country::find($this->settings->country_id);
|
||||||
|
|
||||||
if ($country) {
|
if ($country) {
|
||||||
return $country->name;
|
return ctrans('texts.country_' . $country->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ' ';
|
return ' ';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user