A free open source IT asset/license management system
Localization: Fixed #19173 - use translatoon string for depreciation helper
snipe45d6a491cb48
diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.phpindex 9f89d9db8f..933f76e6b0 100644--- a/app/Helpers/Helper.php+++ b/app/Helpers/Helper.php@@ -664,7 +664,7 @@ class Helper*/public static function depreciationList(){- $depreciation_list = ['' => 'Do Not Depreciate'] + Depreciation::orderBy('name', 'asc')+ $depreciation_list = ['' => trans('admin/licenses/form.no_depreciation')] + Depreciation::orderBy('name', 'asc')->pluck('name', 'id')->toArray();return $depreciation_list;