fix shipping ajax tooltip

This commit is contained in:
Frédéric FRANCE 2023-03-29 18:25:53 +02:00
parent 021309d761
commit 8165b2eba8

View File

@ -1845,6 +1845,13 @@ class Expedition extends CommonObject
}
$datas['ref'] = '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
$datas['refcustomer'] = '<br><b>'.$langs->trans('RefCustomer').':</b> '.($this->ref_customer ? $this->ref_customer : $this->ref_client);
if (!$nofetch) {
$langs->load('companies');
if (empty($this->thirdparty)) {
$this->fetch_thirdparty();
}
$datas['customer'] = '<br><b>'.$langs->trans('Customer').':</b> '.$this->thirdparty->getNomUrl(1, '', 0, 1);
}
return $datas;
}