From 5a45ec708b8da4add88e15dfc07aa127181a40cc Mon Sep 17 00:00:00 2001 From: Daniel Meltzer Date: Thu, 16 Jun 2016 22:22:07 -0400 Subject: [PATCH] Use the model validation trait to validate asset maintences. Might be better to add a form request as well, but this at least makes the model validation occur. fixes #2170 --- app/Models/AssetMaintenance.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/AssetMaintenance.php b/app/Models/AssetMaintenance.php index e15f2f8f26..173d8f631a 100644 --- a/app/Models/AssetMaintenance.php +++ b/app/Models/AssetMaintenance.php @@ -15,6 +15,7 @@ class AssetMaintenance extends Model implements ICompanyableChild { use SoftDeletes; use CompanyableChildTrait; + use ValidatingTrait; protected $dates = [ 'deleted_at' ];