diff --git a/htdocs/expensereport/class/paymentexpensereport.class.php b/htdocs/expensereport/class/paymentexpensereport.class.php index 48adeab929d..3aac0cee2b8 100644 --- a/htdocs/expensereport/class/paymentexpensereport.class.php +++ b/htdocs/expensereport/class/paymentexpensereport.class.php @@ -635,7 +635,16 @@ class PaymentExpenseReport extends CommonObject if (empty($this->ref)) { $this->ref = $this->label; } - $label = $langs->trans("ShowPayment").': '.$this->ref; + $label = img_picto('', $this->picto).' '.$langs->trans("Payment").''; + if (isset($this->status)) { + $label .= ' '.$this->getLibStatut(5); + } + if (!empty($this->ref)) { + $label .= '
'.$langs->trans('Ref').': '.$this->ref; + } + if (!empty($this->datep)) { + $label .= '
'.$langs->trans('Date').': '.dol_print_date($this->datep, 'dayhour'); + } if (!empty($this->id)) { $link = '';