Add new location and user management via CLI
This commit is contained in:
parent
a498bbc7d5
commit
542d1f8db7
10 changed files with 395 additions and 33 deletions
|
@ -300,6 +300,16 @@ class User extends Model implements
|
|||
$this->attributes['username'] = strtolower($value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a concated result for the accounts full name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNameAttribute()
|
||||
{
|
||||
return $this->name_first . ' ' . $this->name_last;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all permissions that a user has.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue