https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29271
Andrew Fuerste-Henry <and...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #126498|0 |1 is obsolete| | --- Comment #3 from Andrew Fuerste-Henry <and...@bywatersolutions.com> --- Created attachment 126505 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126505&action=edit Bug 29271: Fix cash register report results This patch changes accounts.inc to use the credit/debit type codes directly rather than needlessly fetching the credit_type/debit_type object jsut to get the code. This allows the BLOCK to work on non-object lines We also only pass a debit or credit type to csv (accountline cannot be both) empty-line.inc is also removed in favor of correcting the markup one more column added to total line To test: 1 - Add some debits and credits to accounts 2 - Browse to Reports->Cash register 3 - Select transaction type 'All transactions' 4 - Output to screen 5 - Run report 6 - Note transaction types column is empty 7 - Output to a file 8 - Run report 9 - Open file and note: amount column is out of place extra line before total 10 - Apply patch 11 - Repeat and note display and export are correct Signed-off-by: Andrew Fuerste-Henry <and...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/