/[dolibarr]/dolibarr/htdocs/includes/triggers/interface_webcal.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/includes/triggers/interface_webcal.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by eldy, Tue Oct 4 17:50:03 2005 UTC revision 1.6 by eldy, Sun Oct 30 17:45:23 2005 UTC
# Line 17  Line 17 
17   *   *
18   * $Id$   * $Id$
19   * $Source$   * $Source$
  *  
20   */   */
21    
22  /**  /**
# Line 155  class InterfaceWebCal Line 154  class InterfaceWebCal
154              $this->desc.="\n".$langs->trans("Prefix").': '.$object->prefix;              $this->desc.="\n".$langs->trans("Prefix").': '.$object->prefix;
155              //$this->desc.="\n".$langs->trans("Customer").': '.yn($object->client);              //$this->desc.="\n".$langs->trans("Customer").': '.yn($object->client);
156              //$this->desc.="\n".$langs->trans("Supplier").': '.yn($object->fournisseur);              //$this->desc.="\n".$langs->trans("Supplier").': '.yn($object->fournisseur);
157              $this->desc.="\n".$langs->trans("CreatedBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
158          }          }
159    
160          if ($action == 'CONTRACT_VALIDATE')          if ($action == 'CONTRACT_VALIDATE')
# Line 168  class InterfaceWebCal Line 167  class InterfaceWebCal
167              $this->duree=0;              $this->duree=0;
168              $this->texte=$langs->trans("ContractValidatedInDolibarr",$object->ref);              $this->texte=$langs->trans("ContractValidatedInDolibarr",$object->ref);
169              $this->desc=$langs->trans("ContractValidatedInDolibarr",$object->ref);              $this->desc=$langs->trans("ContractValidatedInDolibarr",$object->ref);
170              $this->desc.="\n".$langs->trans("ValidatedBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
171          }          }
172          if ($action == 'CONTRACT_CANCEL')          if ($action == 'CONTRACT_CANCEL')
173          {          {
# Line 179  class InterfaceWebCal Line 178  class InterfaceWebCal
178              $this->duree=0;              $this->duree=0;
179              $this->texte=$langs->trans("ContractCanceledInDolibarr",$object->ref);              $this->texte=$langs->trans("ContractCanceledInDolibarr",$object->ref);
180              $this->desc=$langs->trans("ContractCanceledInDolibarr",$object->ref);              $this->desc=$langs->trans("ContractCanceledInDolibarr",$object->ref);
181              $this->desc.="\n".$langs->trans("CanceledBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
182          }          }
183          if ($action == 'CONTRACT_CLOSE')          if ($action == 'CONTRACT_CLOSE')
184          {          {
# Line 190  class InterfaceWebCal Line 189  class InterfaceWebCal
189              $this->duree=0;              $this->duree=0;
190              $this->texte=$langs->trans("ContractClosedInDolibarr",$object->ref);              $this->texte=$langs->trans("ContractClosedInDolibarr",$object->ref);
191              $this->desc=$langs->trans("ContractClosedInDolibarr",$object->ref);              $this->desc=$langs->trans("ContractClosedInDolibarr",$object->ref);
192              $this->desc.="\n".$langs->trans("ClosedBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
193          }          }
194    
195          if ($action == 'BILL_VALIDATE')          if ($action == 'BILL_VALIDATE')
# Line 202  class InterfaceWebCal Line 201  class InterfaceWebCal
201              $this->duree=0;              $this->duree=0;
202              $this->texte=$langs->trans("InvoiceValidatedInDolibarr",$object->ref);              $this->texte=$langs->trans("InvoiceValidatedInDolibarr",$object->ref);
203              $this->desc=$langs->trans("InvoiceValidatedInDolibarr",$object->ref);              $this->desc=$langs->trans("InvoiceValidatedInDolibarr",$object->ref);
204              $this->desc.="\n".$langs->trans("ValidatedBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
205          }          }
206          if ($action == 'BILL_PAYED')          if ($action == 'BILL_PAYED')
207          {          {
# Line 213  class InterfaceWebCal Line 212  class InterfaceWebCal
212              $this->duree=0;              $this->duree=0;
213              $this->texte=$langs->trans("InvoicePayedInDolibarr",$object->ref);              $this->texte=$langs->trans("InvoicePayedInDolibarr",$object->ref);
214              $this->desc=$langs->trans("InvoicePayedInDolibarr",$object->ref);              $this->desc=$langs->trans("InvoicePayedInDolibarr",$object->ref);
215              $this->desc.="\n".$langs->trans("EditedBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
216          }          }
217          if ($action == 'BILL_CANCELED')          if ($action == 'BILL_CANCELED')
218          {          {
# Line 224  class InterfaceWebCal Line 223  class InterfaceWebCal
223              $this->duree=0;              $this->duree=0;
224              $this->texte=$langs->trans("InvoiceCanceledInDolibarr",$object->ref);              $this->texte=$langs->trans("InvoiceCanceledInDolibarr",$object->ref);
225              $this->desc=$langs->trans("InvoiceCanceledInDolibarr",$object->ref);              $this->desc=$langs->trans("InvoiceCanceledInDolibarr",$object->ref);
226              $this->desc.="\n".$langs->trans("CanceledBy").': '.$user->code;              $this->desc.="\n".$langs->trans("Author").': '.$user->code;
227          }          }
228    
229          // Ajoute entrée dans webcal          // Ajoute entrée dans webcal

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26