joyd86

Results comments of joyd86

We can edit the Depreciable.php file under /app/Models to accommodate WDV - hopefully, the method of calculating is correct. $purdate=date_create($this->purchase_date); $now=date_create(date("Y-m-d")); $datediff=date_diff($purdate,$now); $inyear=$datediff->format("%R%Y"); $powcal = pow(1-(10/100), $inyear); $current_value = ($this->purchase_cost...

Thanks a ton... Worked like a charm :) sudo apt-get install php-zip sudo service apache2 restart