A free open source IT asset/license management system
added rounding
Godfrey M7b9a2ae909a0
diff --git a/app/Models/Depreciable.php b/app/Models/Depreciable.phpindex 118a7b8931..fdb8bdcd1a 100644--- a/app/Models/Depreciable.php+++ b/app/Models/Depreciable.php@@ -79,7 +79,7 @@ class Depreciable extends SnipeModelif($this->get_depreciation()->depreciation_min > $current_value) {- $current_value=$this->get_depreciation()->depreciation_min;+ $current_value=round($this->get_depreciation()->depreciation_min,2);}if ($current_value < 0) {$current_value = 0;