FIX #13663
This commit is contained in:
parent
e1129babbc
commit
3a9add0e70
@ -1434,9 +1434,10 @@ class Facture extends CommonInvoice
|
|||||||
$txttoshow = ($user->socid > 0 ? $this->note_public : $this->note_private);
|
$txttoshow = ($user->socid > 0 ? $this->note_public : $this->note_private);
|
||||||
if ($txttoshow)
|
if ($txttoshow)
|
||||||
{
|
{
|
||||||
$notetoshow = $langs->trans("ViewPrivateNote").':<br>'.dol_string_nohtmltag($txttoshow, 1);
|
//$notetoshow = $langs->trans("ViewPrivateNote").':<br>'.dol_string_nohtmltag($txttoshow, 1);
|
||||||
|
$notetoshow = $langs->trans("ViewPrivateNote").':<br>'.$txttoshow;
|
||||||
$result .= ' <span class="note inline-block">';
|
$result .= ' <span class="note inline-block">';
|
||||||
$result .= '<a href="'.DOL_URL_ROOT.'/compta/facture/note.php?id='.$this->id.'" class="classfortooltip" title="'.dol_escape_htmltag($notetoshow).'">';
|
$result .= '<a href="'.DOL_URL_ROOT.'/compta/facture/note.php?id='.$this->id.'" class="classfortooltip" title="'.dol_escape_htmltag($notetoshow, 1, 1).'">';
|
||||||
$result .= img_picto('', 'note');
|
$result .= img_picto('', 'note');
|
||||||
$result .= '</a>';
|
$result .= '</a>';
|
||||||
//$result.=img_picto($langs->trans("ViewNote"),'object_generic');
|
//$result.=img_picto($langs->trans("ViewNote"),'object_generic');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user