Applied to trunk as r16729. Note that I had to make a small change because 'txns' might be null
Thanks, -derek "Jeff Green" <[EMAIL PROTECTED]> writes: > The "balance" row should show the total for all transactions (if any) > occurring before the "From" date selected in the report's options (defaults > to beginning of current year). If all the transactions occurred before the > "From" date then the "balance" row was not added to the table because the > check for the "balance" row only occurred if there was a transaction being > added that was after the "From" date. > I split the code for the "balance" row off into a separate routine that gets > called in the same place as the old code AND also gets run after all the > transactions have been processed for being added to the table. Running it > after all the transactions are processed ensures that if none of the > transactions were before the "From" date then the "balance" row is still > added to the table. > (Note: While this was a very minor bug, it was a good way to get a better > grasp on Scheme and the way reports are generated) > > Jeff > > _______________________________________________ > gnucash-devel mailing list > [email protected] > https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
