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

This commit is contained in:
Daniel Meltzer 2016-06-16 22:22:07 -04:00
parent 4a148ac069
commit 5a45ec708b

View file

@ -15,6 +15,7 @@ class AssetMaintenance extends Model implements ICompanyableChild
{
use SoftDeletes;
use CompanyableChildTrait;
use ValidatingTrait;
protected $dates = [ 'deleted_at' ];