Depreciable.php
Go to the documentation of this file.
53 $months_remaining = $this->time_until_depreciated()->m + 12*$this->time_until_depreciated()->y; //UGlY
54 $current_value = round(($months_remaining/ $this->get_depreciation()->months) * $this->purchase_cost, 2);
80 date_add($date, date_interval_create_from_date_string($this->get_depreciation()->months . ' months'));
Definition: Depreciable.php:7
Definition: Accessory.php:2