Fix tooltip into tooltip

This commit is contained in:
Laurent Destailleur 2020-09-14 12:47:43 +02:00
parent 22edd650d3
commit 6117e0d8d7

View File

@ -1159,7 +1159,7 @@ class Paiement extends CommonObject
if (!empty($conf->dol_no_mouse_hover)) $notooltip = 1; // Force disable tooltips
$result = '';
$label = '<u>'.$langs->trans("Payment").'</u><br>';
$label = img_picto('', $this->picto).' <u>'.$langs->trans("Payment").'</u><br>';
$label .= '<strong>'.$langs->trans("Ref").':</strong> '.$this->ref;
if ($this->datepaye ? $this->datepaye : $this->date) $label .= '<br><strong>'.$langs->trans("Date").':</strong> '.dol_print_date($this->datepaye ? $this->datepaye : $this->date, 'dayhour');
if ($mode == 'withlistofinvoices')
@ -1172,7 +1172,7 @@ class Paiement extends CommonObject
foreach ($arraybill as $billid)
{
$facturestatic->fetch($billid);
$label .= '<br> '.$facturestatic->getNomUrl(1).' '.$facturestatic->getLibStatut(2, 1);
$label .= '<br> '.$facturestatic->getNomUrl(1, '', 0, 0, '', 1).' '.$facturestatic->getLibStatut(2, 1);
}
}
}