Bug ODS : number of rows incorrect when changing legder

This commit is contained in:
sparkyx 2021-09-23 12:42:10 +02:00
parent ed31dd8b72
commit 8b28b18ce3
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ function update_row(ctl)
try
{
var row_to_keep=3; /* Number of row to keep (head and foot)*/
if ( ctl === 'quick_item' ) { row_to_keep=2;} /* for ODS , only 2 rows to keep */
if ( ctl === 'quick_item' ) { row_to_keep=1;} /* for ODS , only 1 rows to keep */
var jrn = g('p_jrn').value;
var dossier = g('gDossier').value;
var qs = encodeURI('gDossier=' + dossier + '&op=minrow&j=' + jrn + '&ctl=' + ctl);

View file

@ -73,7 +73,7 @@ function checkTotalDirect()
total_cred+=amount;
}
}
// alert_box("amount ="+i+"="+amount+" cred/deb = "+deb+"total d/b"+total_deb+"/"+total_cred);
}