Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
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
..
account-table.inc Bug 27876: added sr-only to caption of table in Charges page 2021-05-10 15:52:53 +02:00
accounts.inc Bug 29271: Fix cash register report results 2021-10-21 10:09:50 +02:00
authorities-search-results.inc
av-build-dropbox.inc
biblio-title-head.inc
biblio-title.inc
bodytag.inc
calendar.inc
columns_settings.inc
datatables.inc
date-format.inc
display-library-address.inc Bug 27830: (follow-up) Merge DE and FR address formats 2021-04-21 10:51:30 +02:00
doc-head-close.inc
doc-head-open.inc
greybox.inc
holds-table.inc
html_helpers.inc Bug 28921: Remove warning from html_helpers.inc 2021-09-09 10:59:38 +02:00
i18n.inc
ill-availability-table.inc
item-status-schema-org.inc
item-status.inc
js-date-format.inc
masthead-langmenu.inc
masthead-sci.inc Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
masthead-sco.inc Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
masthead.inc Bug 29006: Make GoogleOpenIDConnect options consistent in the OPAC 2021-10-05 10:58:14 +02:00
navigation.inc
opac-authorities.inc
opac-bottom.inc Bug 28536: Move translatable strings into overdrive.js 2021-09-21 20:22:57 +02:00
opac-detail-sidebar.inc
opac-facets.inc
opac-note.inc
opac-topissues.inc
openlibrary-readapi.inc
overdrive-checkout.inc
overdrive-login.inc
page-numbers.inc
password_check.inc
patron-title.inc
recordedbooks-checkout.inc
resort_form.inc
shelfbrowser.inc
slip-print.inc
subtypes_unimarc.inc
title-actions-menu.inc
user-star-ratings.inc
usermenu.inc
validator-strings.inc
xslt-handler.inc