Update commoninvoice.class.php
This commit is contained in:
parent
a369690e16
commit
9774b05f52
@ -336,7 +336,8 @@ abstract class CommonInvoice extends CommonObject
|
|||||||
$retarray[]=array('amount'=>$obj->amount,'type'=>$obj->code, 'date'=>$obj->datep, 'num'=>$obj->num, 'ref'=>$obj->ref);
|
$retarray[]=array('amount'=>$obj->amount,'type'=>$obj->code, 'date'=>$obj->datep, 'num'=>$obj->num, 'ref'=>$obj->ref);
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
$this->db->free($resql);
|
||||||
|
|
||||||
//look for credit notes and discounts and deposits
|
//look for credit notes and discounts and deposits
|
||||||
$sql = '';
|
$sql = '';
|
||||||
if ($this->element == 'facture' || $this->element == 'invoice')
|
if ($this->element == 'facture' || $this->element == 'invoice')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user