Added payment recording, minor CSS fixes, enabled Search

This commit is contained in:
Deon George
2021-07-02 14:35:43 +10:00
parent b89e8d18d5
commit 1bba21dcef
13 changed files with 362 additions and 12 deletions

View File

@@ -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()