[Bug 43779] New: Transaction column contents blank when exporting register transaction history
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 Bug ID: 43779 Summary: Transaction column contents blank when exporting register transaction history Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Point of Sale Assignee: koha-bugs@lists.koha-community.org Reporter: andrew@bywatersolutions.com QA Contact: martin.renvoize@openfifth.co.uk Target Milestone: --- When exporting the Transaction History table for a register, the "Transaction" table is blank in the export. This is the column that contains the date of each transaction and its accountlines_id. To recreate: - enable cash registers and point of sale - configure a cash register - configure a debit type to be available to sell - record one or more sales in the POS system - from POS, click "Cash summary for [branch]" - in the cash summary, click the name of your register - this brings you to the transaction history (/cgi-bin/koha/pos/register.pl?registerid=[register ID]" - see the Transaction column contains transaction dates - click Export, selecting any format - see your export has no values for the Transaction column -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |lisette@bywatersolutions.co |ity.org |m Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff --- Comment #1 from Lisette Scheer <lisette@bywatersolutions.com> --- Bug 43779: Add tranaction column contents to export of register tranaction history This patch fixes an issue where the transaction date data is not exported because of the time coming from the row group for the full transaction rather than from each item. To test: --Before Applying-- 1. Set the following system preferences: EnablePointOfSale = Enable UseCashRegisters = Use 2. Under Administration->Accounting->Cash Registers create a new cash register 3. Under Administration->Accounting->Debit Types create a new debit type with a default amount of 1 and 'Can be sold?' checked 4. Go to point of sale 5. Add one of your 'items for purchase' to your transaction, enter the same amount to be tendered and select cash in the payment type and confirm. 6. Go to 'Cash summary for [branch]' and click the register name 7. Observe the time exists 8. export 9. Observe the export has no timestamp 10. Apply patch and restart all 11. Refresh the Cash summary page 12. Observe the time still exists the same as before 13. Export 14. Observe the time now exists in the export. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 --- Comment #2 from Lisette Scheer <lisette@bywatersolutions.com> --- Created attachment 208934 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208934&action=edit Bug 43779: Add tranaction column contents to export of register tranaction history This patch fixes an issue where the transaction date data is not exported because of the time coming from the row group for the full transaction rather than from each item. To test: --Before Applying-- 1. Set the following system preferences: EnablePointOfSale = Enable UseCashRegisters = Use 2. Under Administration->Accounting->Cash Registers create a new cash register 3. Under Administration->Accounting->Debit Types create a new debit type with a default amount of 1 and 'Can be sold?' checked 4. Go to point of sale 5. Add one of your 'items for purchase' to your transaction, enter the same amount to be tendered and select cash in the payment type and confirm. 6. Go to 'Cash summary for [branch]' and click the register name 7. Observe the time exists 8. export 9. Observe the export has no timestamp 10. Apply patch and restart all 11. Refresh the Cash summary page 12. Observe the time still exists the same as before 13. Export 14. Observe the time now exists in the export. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208934|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 208940 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208940&action=edit Bug 43779: Add tranaction column contents to export of register tranaction history This patch fixes an issue where the transaction date data is not exported because of the time coming from the row group for the full transaction rather than from each item. To test: --Before Applying-- 1. Set the following system preferences: EnablePointOfSale = Enable UseCashRegisters = Use 2. Under Administration->Accounting->Cash Registers create a new cash register 3. Under Administration->Accounting->Debit Types create a new debit type with a default amount of 1 and 'Can be sold?' checked 4. Go to point of sale 5. Add one of your 'items for purchase' to your transaction, enter the same amount to be tendered and select cash in the payment type and confirm. 6. Go to 'Cash summary for [branch]' and click the register name 7. Observe the time exists 8. export 9. Observe the export has no timestamp 10. Apply patch and restart all 11. Refresh the Cash summary page 12. Observe the time still exists the same as before 13. Export 14. Observe the time now exists in the export. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #4 from David Nind <david@davidnind.com> --- Thanks Lisette for the easy to follow test plan! I wondered what the number in brackets was after the date/time - it is the transaction ID. Maybe, on a separate bug, the transaction ID (accountlines_id from accountlines table) should be split out into its own column. It it must be a bit of a pain if you are doing analysis on lots of transactions to tidy up the data before you can do anything. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This fixes the export of release notes| |data from the point of sale | |system transaction summary | |for a cash register - the | |transaction date and the | |transaction ID was not | |exported. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208940|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 --- Comment #5 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211148 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211148&action=edit Bug 43779: Add transaction column contents to export of register transaction history This patch fixes an issue where the transaction date data is not exported because of the time coming from the row group for the full transaction rather than from each item. To test: --Before Applying-- 1. Set the following system preferences: EnablePointOfSale = Enable UseCashRegisters = Use 2. Under Administration->Accounting->Cash Registers create a new cash register 3. Under Administration->Accounting->Debit Types create a new debit type with a default amount of 1 and 'Can be sold?' checked 4. Go to point of sale 5. Add one of your 'items for purchase' to your transaction, enter the same amount to be tendered and select cash in the payment type and confirm. 6. Go to 'Cash summary for [branch]' and click the register name 7. Observe the time exists 8. export 9. Observe the export has no timestamp 10. Apply patch and restart all 11. Refresh the Cash summary page 12. Observe the time still exists the same as before 13. Export 14. Observe the time now exists in the export. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211149 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211149&action=edit Bug 43779: (QA follow-up) Tidy exported Transaction column and hide it from screen readers The hidden Transaction cell added for the export was formatted over several lines, so the exported text contained a long run of spaces between the timestamp and the identifier, e.g. "11/06/2026 16:59 (3)". The export formatters only convert newlines to spaces, they do not collapse runs. Move the timestamp/identifier output into a single 'transaction_label' BLOCK, rendered on one line, and use it for the group row and the four hidden cells. This also removes five copies of the same expression. Mark the hidden spans aria-hidden so screen readers do not read the duplicated timestamp on every item row; the text stays in the DOM, so the export is unaffected. To test: 1. Follow the test plan from the previous patch 2. Export the transaction history (current and "Older transactions") in any format 3. Confirm the Transaction column reads "<date> (<id>)" with a single space between the two parts 4. Confirm the on-screen group row is unchanged and payouts/refunds still export a Transaction value 5. Confirm with a screen reader or the browser accessibility tree that item rows no longer repeat the timestamp Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43779 --- Comment #7 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org