This commit is contained in:
snipe 2017-09-27 14:50:17 -07:00
parent bd0498aa69
commit ef8c1abf28

View file

@ -77,6 +77,24 @@ class SnipeModel extends Model
return;
}
public function setMinAmtAttribute($value)
{
if ($value == '') {
$value = null;
}
$this->attributes['min_amt'] = $value;
return;
}
public function setParentIdAttribute($value)
{
if ($value == '') {
$value = null;
}
$this->attributes['parent_id'] = $value;
return;
}
//
public function getDisplayNameAttribute()
{