fix mistake and removed hookmanager unused
This commit is contained in:
parent
c6aa078892
commit
779c868eae
@ -770,7 +770,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
*/
|
*/
|
||||||
public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $save_lastsearch_value = -1, $addlinktonotes = 0)
|
public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $save_lastsearch_value = -1, $addlinktonotes = 0)
|
||||||
{
|
{
|
||||||
global $langs, $conf, $user, $hookmanager;
|
global $langs, $conf, $user;
|
||||||
|
|
||||||
$result = '';
|
$result = '';
|
||||||
|
|
||||||
@ -779,7 +779,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
if ($user->rights->fournisseur->commande->lire) {
|
if ($user->rights->fournisseur->commande->lire) {
|
||||||
$label = '<u class="paddingrightonly">'.$langs->trans("SupplierOrder").'</u>';
|
$label = '<u class="paddingrightonly">'.$langs->trans("SupplierOrder").'</u>';
|
||||||
if (isset($this->statut)) {
|
if (isset($this->statut)) {
|
||||||
$label = ' '.$this->getLibStatut(5);
|
$label .= ' '.$this->getLibStatut(5);
|
||||||
}
|
}
|
||||||
if (!empty($this->ref)) {
|
if (!empty($this->ref)) {
|
||||||
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user