17 |
* |
* |
18 |
* $Id$ |
* $Id$ |
19 |
* $Source$ |
* $Source$ |
|
* |
|
20 |
*/ |
*/ |
21 |
|
|
22 |
/** |
/** |
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') |
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 |
{ |
{ |
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 |
{ |
{ |
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') |
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 |
{ |
{ |
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 |
{ |
{ |
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 |