diff --git a/htdocs/actioncomm.class.php b/htdocs/actioncomm.class.php index ece6adf4ed0..c3476d25a03 100644 --- a/htdocs/actioncomm.class.php +++ b/htdocs/actioncomm.class.php @@ -168,7 +168,14 @@ class ActionComm $this->fk_facture = $obj->fk_facture; if ($this->fk_facture) { - $this->objet_url = ''.$langs->trans("Bill").''; + $this->objet_url = img_object($langs->trans("ShowBill"),'bill').' '.''.$langs->trans("Bill").''; + $this->objet_url_type = 'facture'; + } + $this->fk_propal = $obj->propalrowid; + if ($this->fk_propal) + { + $this->objet_url = img_object($langs->trans("ShowPropal"),'propal').' '.''.$langs->trans("Propal").''; + $this->objet_url_type = 'propal'; } }