Correct : Sort the periode properly in using p_start and p_end instead of p_id

This commit is contained in:
sparkyx 2006-08-24 20:28:59 +00:00
parent cd43c8678e
commit d3d4a1e748
16 changed files with 44 additions and 35 deletions

View file

@ -119,6 +119,7 @@ function GetSolde($p_cn,$p_account,$p_cond="") {
from jrnx join tmp_pcmn on j_poste=pcm_val
where
j_poste=$p_account
$p_cond
) as m group by j_poste ");
$Max=pg_NumRows($Res);
if ($Max==0) return 0;