A free open source IT asset/license management system
remove commented code
Godfrey M3641016271db
diff --cc app/Models/Asset.phpindex cc016583c3,c571578172..4685617b1d--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@@ -785,12 -785,9 +785,9 @@@ class Asset extends Depreciabl->whereNotNull('warranty_months')->whereNotNull('purchase_date')->whereNull('deleted_at')- ->whereRaw('DATE_ADD(`purchase_date`,INTERVAL `warranty_months` MONTH) <= DATE(NOW() + INTERVAL '+ ->whereRaw('DATE_ADD(`purchase_date`, INTERVAL `warranty_months` MONTH) <= DATE_ADD(NOW(), INTERVAL '. $days. ' DAY) AND DATE_ADD(`purchase_date`, INTERVAL `warranty_months` MONTH) > NOW()')- // ->whereRaw('DATE_ADD(`purchase_date`,INTERVAL `warranty_months` MONTH) <= DATE(NOW() + INTERVAL '- // . $days- // . ' DAY) AND DATE_ADD(`purchase_date`, INTERVAL `warranty_months` MONTH) > NOW()')->orderByRaw('DATE_ADD(`purchase_date`,INTERVAL `warranty_months` MONTH)')->get();}