Fix label
This commit is contained in:
parent
1c8e02df3b
commit
12fba9e679
@ -3893,6 +3893,7 @@ abstract class CommonObject
|
|||||||
{
|
{
|
||||||
// phpcs:enable
|
// phpcs:enable
|
||||||
$out = '';
|
$out = '';
|
||||||
|
|
||||||
$this->label_incoterms = '';
|
$this->label_incoterms = '';
|
||||||
if (!empty($this->fk_incoterms))
|
if (!empty($this->fk_incoterms))
|
||||||
{
|
{
|
||||||
@ -3905,7 +3906,7 @@ abstract class CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$out .= (($res->code && $this->location_incoterms) ? ' - ' : '').$this->location_incoterms;
|
$out .= (($out && $this->location_incoterms) ? ' - ' : '').$this->location_incoterms;
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user