From 9904c190b6f371283642d410a3c6fec5edc89c88 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 20 Aug 2005 22:43:31 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Objet=20li=E9=20d'une=20action=20non=20c?= =?UTF-8?q?harg=E9=20si=20propal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/actioncomm.class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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'; } }