diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php
index 96d3d164756..590a7fbe132 100644
--- a/htdocs/commande/class/commande.class.php
+++ b/htdocs/commande/class/commande.class.php
@@ -3747,6 +3747,7 @@ class Commande extends CommonOrder
}
$datas['customer'] = '
'.$langs->trans('Customer').': '.$this->thirdparty->name;
}
+ $datas['RefCustomer'] = '
'.$langs->trans('RefCustomer').': '.(empty($this->ref_customer) ? (empty($this->ref_client) ? '' : $this->ref_client) : $this->ref_customer);
if (!empty($this->total_ht)) {
$datas['AmountHT'] = '
'.$langs->trans('AmountHT').': '.price($this->total_ht, 0, $langs, 0, -1, -1, $conf->currency);
}