mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for new mobile app
This commit is contained in:
parent
a04f448692
commit
925ea5109a
@ -515,7 +515,7 @@ class Utils
|
|||||||
$industry->name = trans('texts.industry_'.$industry->name);
|
$industry->name = trans('texts.industry_'.$industry->name);
|
||||||
})->sortBy(function ($industry) {
|
})->sortBy(function ($industry) {
|
||||||
return $industry->name;
|
return $industry->name;
|
||||||
});
|
})->values();
|
||||||
|
|
||||||
$data['countries'] = Cache::get('countries')->each(function ($country) {
|
$data['countries'] = Cache::get('countries')->each(function ($country) {
|
||||||
$country->name = trans('texts.country_'.$country->name);
|
$country->name = trans('texts.country_'.$country->name);
|
||||||
@ -533,7 +533,7 @@ class Utils
|
|||||||
$lang->name = trans('texts.lang_'.$lang->name);
|
$lang->name = trans('texts.lang_'.$lang->name);
|
||||||
})->sortBy(function ($lang) {
|
})->sortBy(function ($lang) {
|
||||||
return $lang->name;
|
return $lang->name;
|
||||||
});
|
})->values();
|
||||||
|
|
||||||
$data['currencies'] = Cache::get('currencies')->each(function ($currency) {
|
$data['currencies'] = Cache::get('currencies')->each(function ($currency) {
|
||||||
$currency->name = trans('texts.currency_' . \Str::slug($currency->name, '_'));
|
$currency->name = trans('texts.currency_' . \Str::slug($currency->name, '_'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user