Fixed account title symbol issue.. ( #8669n1c9c )

This commit is contained in:
Cüneyt Şentürk 2023-03-15 14:52:22 +03:00
parent 463fc3cb89
commit 43652cd7da

View File

@ -96,7 +96,7 @@ class Account extends Model
*/ */
public function getTitleAttribute() public function getTitleAttribute()
{ {
if ($this->currency->symbol) { if (! empty($this->currency) && ! empty($this->currency->symbol)) {
return $this->name . ' (' . $this->currency->symbol . ')'; return $this->name . ' (' . $this->currency->symbol . ')';
} }