Koha/koha-tmpl/intranet-tmpl/prog
Nick Clemens b29a7148a9 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 <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-21 10:09:50 +02:00
..
css Bug 28978: Compiled CSS 2021-10-12 11:16:39 +02:00
en Bug 29271: Fix cash register report results 2021-10-21 10:09:50 +02:00
img Bug 28321: Use template block for display of items in search results 2021-10-05 10:58:13 +02:00
js Bug 29240: Centralise from/to handling 2021-10-19 09:50:08 +02:00
pdf
sound