bug : impress->poste give duplicate if the same card is used several times in an operation
This commit is contained in:
parent
00af64d152
commit
759df68f54
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class Acc_Account_Ledger {
|
|||
$periode=sql_filter_per($this->db,$p_from,$p_to,'p_id','jr_tech_per');
|
||||
|
||||
|
||||
$Res=ExecSql($this->db,"select jr_id,to_char(j_date,'DD.MM.YYYY') as j_date,".
|
||||
$Res=ExecSql($this->db,"select distinct jr_id,j_date,to_char(j_date,'DD.MM.YYYY') as j_date,".
|
||||
"case when j_debit='t' then j_montant else 0 end as deb_montant,".
|
||||
"case when j_debit='f' then j_montant else 0 end as cred_montant,".
|
||||
" jr_comment as description,jrn_def_name as jrn_name,".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue