mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
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:
parent
4a148ac069
commit
5a45ec708b
|
@ -15,6 +15,7 @@ class AssetMaintenance extends Model implements ICompanyableChild
|
|||
{
|
||||
use SoftDeletes;
|
||||
use CompanyableChildTrait;
|
||||
use ValidatingTrait;
|
||||
|
||||
|
||||
protected $dates = [ 'deleted_at' ];
|
||||
|
|
Loading…
Reference in a new issue