Standardize and update code

This commit is contained in:
Philippe GRAND 2018-10-04 09:33:30 +02:00
parent d2ec703b51
commit 8bee69277d
4 changed files with 15 additions and 5 deletions

View File

@ -216,7 +216,7 @@ class Facture extends CommonInvoice
const TYPE_SITUATION = 5;
/**
* Draft
* Draft status
*/
const STATUS_DRAFT = 0;

View File

@ -62,7 +62,7 @@ abstract class CommonInvoice extends CommonObject
const TYPE_SITUATION = 5;
/**
* Draft
* Draft status
*/
const STATUS_DRAFT = 0;

View File

@ -117,9 +117,19 @@ class Expedition extends CommonObject
public $meths;
public $listmeths; // List of carriers
/**
* Draft status
*/
const STATUS_DRAFT = 0;
/**
* Validated status
*/
const STATUS_VALIDATED = 1;
/**
* Closed status
*/
const STATUS_CLOSED = 2;

View File

@ -104,8 +104,8 @@ class ExpenseReport extends CommonObject
END ACTIONS
*/
/**
* Draft
/**
* Draft status
*/
const STATUS_DRAFT = 0;