Bug 25262: [19.05.x] Do not truncate MANUAL_INV in dropdown
authorNick Clemens <nick@bywatersolutions.com>
Thu, 23 Apr 2020 10:36:20 +0000 (10:36 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 1 May 2020 21:15:35 +0000 (21:15 +0000)
commit12bf0c91d1ff15dc2c33cb25c16edbdb5121d740
tree9926bcd82044339705b7a23fd7286e1b572bc80f
parent4c44691ed9c80b2887e1c08ecc2c46f8adfa3411
Bug 25262: [19.05.x] Do not truncate MANUAL_INV in dropdown

There is an issue in that historic values will still be truncated, but recent values are not.
I feel the cash register report should reflect recent transactions over historic, and the historic are a data cleanup issue

To test:
1 - Add a MANUAL_INV value with more than 5 characters 'INCREDIBLE_HULK'
2 - Add a manual invoice to a patron's acccount using this value
3 - Note the full code displays in patrons account
4 - Browse to Reports->Cash register
5 - Search for today's date, the value you createed, and all libraries
6 - No results returned
7 - Apply patch
8 - Repeat 5
9 - The transaction shows

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt