A free open source IT asset/license management system
Set purchase date to date type
snipe012afe99e2b4
diff --git a/app/Models/License.php b/app/Models/License.phpindex 11f1326aa9..049675d42a 100755--- a/app/Models/License.php+++ b/app/Models/License.php@@ -22,7 +22,14 @@ class License extends Depreciableprotected $injectUniqueIdentifier = true;use ValidatingTrait;- protected $dates = ['deleted_at'];+ // We set these as protected dates so that they will be easily accessible via Carbon+ protected $dates = [+ 'created_at',+ 'updated_at',+ 'deleted_at',+ 'purchase_date'+ ];+public $timestamps = true;