This commit is contained in:
Laurent Destailleur 2022-06-03 02:31:09 +02:00
parent c9ef83d9a7
commit bfd5ed3281

View File

@ -1446,7 +1446,7 @@ if ($placeid > 0) {
} }
$htmlsupplements[$line->fk_parent_line] .= '" id="'.$line->id.'"'; $htmlsupplements[$line->fk_parent_line] .= '" id="'.$line->id.'"';
if ($line->special_code == "4") { if ($line->special_code == "4") {
$htmlsupplements[$line->fk_parent_line] .= ' title="'.dol_escape_htmltag("AlreadyPrinted").'"'; $htmlsupplements[$line->fk_parent_line] .= ' title="'.dol_escape_htmltag($langs->trans("AlreadyPrinted")).'"';
} }
$htmlsupplements[$line->fk_parent_line] .= '>'; $htmlsupplements[$line->fk_parent_line] .= '>';
$htmlsupplements[$line->fk_parent_line] .= '<td class="left">'; $htmlsupplements[$line->fk_parent_line] .= '<td class="left">';
@ -1489,7 +1489,7 @@ if ($placeid > 0) {
} }
$htmlforlines .= '" id="'.$line->id.'"'; $htmlforlines .= '" id="'.$line->id.'"';
if ($line->special_code == "4") { if ($line->special_code == "4") {
$htmlforlines .= ' title="'.dol_escape_htmltag("AlreadyPrinted").'"'; $htmlforlines .= ' title="'.dol_escape_htmltag($langs->trans("AlreadyPrinted")).'"';
} }
$htmlforlines .= '>'; $htmlforlines .= '>';
$htmlforlines .= '<td class="left">'; $htmlforlines .= '<td class="left">';