Edit getfullname format for location #17

This commit is contained in:
Ramon Gutierrez 2018-02-19 14:13:49 +08:00
parent e124b0cebd
commit 226da99ae4

View file

@ -95,7 +95,7 @@ trait Location
public function getFullName()
{
return $this->name . ' ' . $this->branch;
return $this->name . ($this->branch ? ' - ' . $this->branch : '');
}
public function setAddress($address)