Typo
This commit is contained in:
parent
831177ef99
commit
1b7ffd80f1
@ -61,7 +61,7 @@ class Commande extends CommonOrder
|
|||||||
var $contactid;
|
var $contactid;
|
||||||
var $fk_project;
|
var $fk_project;
|
||||||
/**
|
/**
|
||||||
* Status of the commande. Check the following constants:
|
* Status of the order. Check the following constants:
|
||||||
* - STATUS_CANCELED
|
* - STATUS_CANCELED
|
||||||
* - STATUS_DRAFT
|
* - STATUS_DRAFT
|
||||||
* - STATUS_ACCEPTED
|
* - STATUS_ACCEPTED
|
||||||
@ -2893,7 +2893,7 @@ class Commande extends CommonOrder
|
|||||||
//print 'x'.$statut.'-'.$billed;
|
//print 'x'.$statut.'-'.$billed;
|
||||||
if ($mode == 0)
|
if ($mode == 0)
|
||||||
{
|
{
|
||||||
if ($statut==self::STATUS_CANCELED-1) return $langs->trans('StatusOrderCanceled');
|
if ($statut==self::STATUS_CANCELED) return $langs->trans('StatusOrderCanceled');
|
||||||
if ($statut==self::STATUS_DRAFT) return $langs->trans('StatusOrderDraft');
|
if ($statut==self::STATUS_DRAFT) return $langs->trans('StatusOrderDraft');
|
||||||
if ($statut==self::STATUS_VALIDATED) return $langs->trans('StatusOrderValidated');
|
if ($statut==self::STATUS_VALIDATED) return $langs->trans('StatusOrderValidated');
|
||||||
if ($statut==self::STATUS_ACCEPTED) return $langs->trans('StatusOrderSentShort');
|
if ($statut==self::STATUS_ACCEPTED) return $langs->trans('StatusOrderSentShort');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user