Edit getfullname format for location #17
This commit is contained in:
parent
e124b0cebd
commit
226da99ae4
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ trait Location
|
||||||
|
|
||||||
public function getFullName()
|
public function getFullName()
|
||||||
{
|
{
|
||||||
return $this->name . ' ' . $this->branch;
|
return $this->name . ($this->branch ? ' - ' . $this->branch : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAddress($address)
|
public function setAddress($address)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue