A free open source IT asset/license management system
Use new translation
snipe88fef73d6faf
diff --git a/app/Http/Transformers/DepreciationsTransformer.php b/app/Http/Transformers/DepreciationsTransformer.phpindex 64d4c88f7e..2ccbfdb7cd 100644--- a/app/Http/Transformers/DepreciationsTransformer.php+++ b/app/Http/Transformers/DepreciationsTransformer.php@@ -26,7 +26,7 @@ class DepreciationsTransformer$array = ['id' => (int) $depreciation->id,'name' => e($depreciation->name),- 'months' => $depreciation->months.' '.trans('general.months'),+ 'months' => trans_choice('general.depreciation_options.months', $depreciation->months),'depreciation_min' => $depreciation->depreciation_type === 'percent' ? $depreciation->depreciation_min.'%' : $depreciation->depreciation_min,'assets_count' => $depreciation->assets_count,'models_count' => $depreciation->models_count,