Fix usage_broadband, since our usage data is a float
This commit is contained in:
@@ -25,6 +25,13 @@ class Rtm extends Model
|
||||
return $this->hasMany(self::class,'parent_id');
|
||||
}
|
||||
|
||||
public function owner()
|
||||
{
|
||||
return $this->hasOneThrough(User::class,Account::class,'id','id','account_id','user_id');
|
||||
}
|
||||
|
||||
/* METHODS */
|
||||
|
||||
/**
|
||||
* Return all the children RTM records that this record is parent of
|
||||
*
|
||||
|
Reference in New Issue
Block a user