From b8fccb6bafdf25aa576a0e42fc806854ca57c254 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 4 Oct 2005 17:50:03 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20num=E9ro=20facture=20mis=20dans=20evenne?= =?UTF-8?q?ment=20webcalendar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/triggers/interface_webcal.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/includes/triggers/interface_webcal.class.php b/htdocs/includes/triggers/interface_webcal.class.php index 7cdd812bd0a..5937af070ff 100644 --- a/htdocs/includes/triggers/interface_webcal.class.php +++ b/htdocs/includes/triggers/interface_webcal.class.php @@ -200,8 +200,8 @@ class InterfaceWebCal $this->date=time(); $this->duree=0; - $this->texte=$langs->trans("InvoiceValidatedInDolibarr",$object->number); - $this->desc=$langs->trans("InvoiceValidatedInDolibarr",$object->number); + $this->texte=$langs->trans("InvoiceValidatedInDolibarr",$object->ref); + $this->desc=$langs->trans("InvoiceValidatedInDolibarr",$object->ref); $this->desc.="\n".$langs->trans("ValidatedBy").': '.$user->code; } if ($action == 'BILL_PAYED') @@ -211,8 +211,8 @@ class InterfaceWebCal $this->date=time(); $this->duree=0; - $this->texte=$langs->trans("InvoicePayedInDolibarr",$object->number); - $this->desc=$langs->trans("InvoicePayedInDolibarr",$object->number); + $this->texte=$langs->trans("InvoicePayedInDolibarr",$object->ref); + $this->desc=$langs->trans("InvoicePayedInDolibarr",$object->ref); $this->desc.="\n".$langs->trans("EditedBy").': '.$user->code; } if ($action == 'BILL_CANCELED') @@ -222,8 +222,8 @@ class InterfaceWebCal $this->date=time(); $this->duree=0; - $this->texte=$langs->trans("InvoiceCanceledInDolibarr",$object->number); - $this->desc=$langs->trans("InvoiceCanceledInDolibarr",$object->number); + $this->texte=$langs->trans("InvoiceCanceledInDolibarr",$object->ref); + $this->desc=$langs->trans("InvoiceCanceledInDolibarr",$object->ref); $this->desc.="\n".$langs->trans("CanceledBy").': '.$user->code; }