2
0
forked from Wavyzz/dolibarr

Move not stable ecotax feature as a module.

This commit is contained in:
Laurent Destailleur
2010-07-13 23:36:53 +00:00
parent 8be8bc4213
commit cfd5f40683
6 changed files with 25 additions and 314 deletions

View File

@@ -41,6 +41,7 @@ class Commande extends CommonObject
var $element='commande';
var $table_element='commande';
var $table_element_line = 'commandedet';
var $class_element_line = 'OrderLine';
var $fk_element = 'fk_commande';
var $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
@@ -903,7 +904,7 @@ class Commande extends CommonObject
$line->product_type=$type;
// \TODO Ne plus utiliser
$line->price=$price;
$line->price=$price;
$line->remise=$remise;
$line->date_start=$date_start;
@@ -1059,7 +1060,7 @@ class Commande extends CommonObject
$this->total_ht = $obj->total_ht;
$this->total_tva = $obj->total_tva;
$this->total_localtax1 = $obj->total_localtax1;
$this->total_localtax2 = $obj->total_localtax2;
$this->total_localtax2 = $obj->total_localtax2;
$this->total_ttc = $obj->total_ttc;
$this->date = $this->db->jdate($obj->date_commande);
$this->date_commande = $this->db->jdate($obj->date_commande);