mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
parent
bd0498aa69
commit
ef8c1abf28
|
@ -77,6 +77,24 @@ class SnipeModel extends Model
|
||||||
return;
|
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()
|
public function getDisplayNameAttribute()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue