mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02: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);
|
||||
})->sortBy(function ($industry) {
|
||||
return $industry->name;
|
||||
});
|
||||
})->values();
|
||||
|
||||
$data['countries'] = Cache::get('countries')->each(function ($country) {
|
||||
$country->name = trans('texts.country_'.$country->name);
|
||||
@ -533,7 +533,7 @@ class Utils
|
||||
$lang->name = trans('texts.lang_'.$lang->name);
|
||||
})->sortBy(function ($lang) {
|
||||
return $lang->name;
|
||||
});
|
||||
})->values();
|
||||
|
||||
$data['currencies'] = Cache::get('currencies')->each(function ($currency) {
|
||||
$currency->name = trans('texts.currency_' . \Str::slug($currency->name, '_'));
|
||||
|
Loading…
Reference in New Issue
Block a user