Initialise à zéro this->projetid
This commit is contained in:
parent
4d2e5ff5f2
commit
8ce0271ebd
@ -47,17 +47,19 @@ class Facture {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Function Facture($DB, $soc_idp="", $facid="") {
|
Function Facture($DB, $soc_idp="", $facid="")
|
||||||
$this->db = $DB ;
|
{
|
||||||
$this->socidp = $soc_idp;
|
$this->db = $DB ;
|
||||||
$this->products = array();
|
$this->socidp = $soc_idp;
|
||||||
$this->db_table = "llx_facture";
|
$this->products = array();
|
||||||
$this->amount = 0;
|
$this->db_table = "llx_facture";
|
||||||
$this->remise = 0;
|
$this->amount = 0;
|
||||||
$this->tva = 0;
|
$this->remise = 0;
|
||||||
$this->total = 0;
|
$this->tva = 0;
|
||||||
$this->propalid = 0;
|
$this->total = 0;
|
||||||
$this->id = $facid;
|
$this->propalid = 0;
|
||||||
|
$this->projetid = 0;
|
||||||
|
$this->id = $facid;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user