Nick Clemens
b29a7148a9
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> |
||
---|---|---|
.. | ||
account-table.inc | ||
accounts.inc | ||
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 | ||
doc-head-close.inc | ||
doc-head-open.inc | ||
greybox.inc | ||
holds-table.inc | ||
html_helpers.inc | ||
i18n.inc | ||
ill-availability-table.inc | ||
item-status-schema-org.inc | ||
item-status.inc | ||
js-date-format.inc | ||
masthead-langmenu.inc | ||
masthead-sci.inc | ||
masthead-sco.inc | ||
masthead.inc | ||
navigation.inc | ||
opac-authorities.inc | ||
opac-bottom.inc | ||
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 |