Correct : Sort the periode properly in using p_start and p_end instead of p_id
This commit is contained in:
parent
cd43c8678e
commit
d3d4a1e748
16 changed files with 44 additions and 35 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue