Fix problem in the order of GetDataPoste

This commit is contained in:
sparkyx 2003-08-16 00:06:13 +00:00
parent ad0605cd0a
commit 1865449036

View file

@ -235,7 +235,7 @@ function GetDataPoste($p_cn,$p_poste,$p_condition)
" from jrnx left join jrn_def on jrn_def_id=j_jrn_def ". " from jrnx left join jrn_def on jrn_def_id=j_jrn_def ".
" left join jrn on jr_grpt_id=j_grpt". " left join jrn on jr_grpt_id=j_grpt".
" where j_poste=".$p_poste." and ".$p_condition. " where j_poste=".$p_poste." and ".$p_condition.
" order by j_date"); " order by j_date::date");
$array=array(); $array=array();
$tot_cred=0; $tot_cred=0;
$tot_deb=0; $tot_deb=0;