2
0
forked from Wavyzz/dolibarr

NEW tooltip notes with first public note and then private note

This commit is contained in:
VESSILLER
2019-11-06 16:45:52 +01:00
parent fefb4a7f95
commit bcafef42b0

View File

@@ -3626,13 +3626,13 @@ class Propal extends CommonObject
$txttoshow .= dol_string_nohtmltag($this->note_public, 1);
}
} else {
if (!empty($this->note_private)) {
$txttoshow .= dol_string_nohtmltag($this->note_private, 1);
}
if (!empty($this->note_public)) {
if (!empty($txttoshow)) $txttoshow .= '<br>';
$txttoshow .= dol_string_nohtmltag($this->note_public, 1);
}
if (!empty($this->note_private)) {
if (!empty($txttoshow)) $txttoshow .= '<br><br>';
$txttoshow .= dol_string_nohtmltag($this->note_private, 1);
}
}
}