task #1013 Comptabilité analytique : amélioration quand aucune donnée

Task #1013 - Comptabilité analytique : amélioration quand aucune donnée
This commit is contained in:
Dany De Bontridder 2014-07-20 12:50:12 +02:00
parent 2f95fcac55
commit 2295ffe63e
10 changed files with 80 additions and 39 deletions

View file

@ -69,6 +69,7 @@ class Anc_Operation
$this->id=$p_id;
$this->oa_jrnx_id_source=null;
$this->oa_positive='Y';
$this->has_data=0;
}
/*!\brief add a row to the table operation_analytique
* \note if $this->oa_group if 0 then a sequence id will be computed for
@ -179,7 +180,6 @@ class Anc_Operation
order by jr_date,oa_group,oa_debit desc,oa_id";
$RetSql=$this->db->exec_sql($sql);
$array=Database::fetch_all($RetSql);
return $array;
}