Added payment recording, minor CSS fixes, enabled Search
This commit is contained in:
@@ -185,7 +185,7 @@ class Account extends Model implements IDs
|
||||
|
||||
public function getNameAttribute()
|
||||
{
|
||||
return $this->company ?: $this->user->SurFirstName;
|
||||
return $this->company ?: ($this->user_id ? $this->user->SurFirstName : 'AID:'.$this->id);
|
||||
}
|
||||
|
||||
public function getServicesCountHtmlAttribute()
|
||||
|
Reference in New Issue
Block a user