Improve stock : we dont see anymore the -ERROR- tag
Improve Poste & card printing with a progressive balance Fix patch for stock_goods
This commit is contained in:
parent
431f39daab
commit
d2014ccfb3
9 changed files with 60 additions and 23 deletions
|
|
@ -57,15 +57,20 @@ echo '"Qcode";'.
|
|||
"\"Date\";".
|
||||
"\"Description\";".
|
||||
"\"Débit\";".
|
||||
"\"Crédit\"";
|
||||
"\"Crédit\";".
|
||||
"\"Prog.\"";
|
||||
printf("\n");
|
||||
$progress=0;
|
||||
foreach ( $Fiche->row as $op ) {
|
||||
$progress+=$op['deb_montant']-$op['cred_montant'];
|
||||
|
||||
echo '"'.$op['j_qcode'].'";'.
|
||||
'"'.$op['jr_internal'].'"'.";".
|
||||
'"'.$op['j_date_fmt'].'"'.";".
|
||||
'"'.$op['description'].'"'.";".
|
||||
nb($op['deb_montant']).";".
|
||||
nb($op['cred_montant']);
|
||||
nb($op['cred_montant']).";".
|
||||
nb(abs($progress));
|
||||
printf("\n");
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue