浏览代码

Fix tooltip

Laurent Destailleur 6 年之前
父节点
当前提交
057b606663
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      htdocs/fourn/class/paiementfourn.class.php

+ 1 - 1
htdocs/fourn/class/paiementfourn.class.php

@@ -583,7 +583,7 @@ class PaiementFourn extends Paiement
 
 		$label = '<u>'.$langs->trans("ShowPayment").'</u><br>';
 		$label.= '<strong>'.$langs->trans("Ref").':</strong> '.$text;
-		$label.= '<br><strong>'.$langs->trans("Date").':</strong> '.dol_print_date($this->date, 'dayhour');
+		$label.= '<br><strong>'.$langs->trans("Date").':</strong> '.dol_print_date($this->datepaye ? $this->datepaye : $this->date, 'dayhour');
 
 		$linkstart = '<a href="'.DOL_URL_ROOT.'/fourn/paiement/card.php?id='.$this->id.'" title="'.dol_escape_htmltag($label, 1).'" class="classfortooltip">';
 		$linkend = '</a>';