mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Fix dash in incoterm label
This commit is contained in:
@@ -3080,6 +3080,7 @@ abstract class CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return incoterms informations
|
* Return incoterms informations
|
||||||
|
* TODO Use a cache for label get
|
||||||
*
|
*
|
||||||
* @return string incoterms info
|
* @return string incoterms info
|
||||||
*/
|
*/
|
||||||
@@ -3098,7 +3099,7 @@ abstract class CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$out .= ' - '.$this->location_incoterms;
|
$out .= (($res->code && $this->location_incoterms)?' - ':'').$this->location_incoterms;
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user