Bug 36846 - Collected and change variables are set to 0.00 when printing from POS Transaction history
Summary: Collected and change variables are set to 0.00 when printing from POS Transac...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-13 20:41 UTC by Lucas Gass (lukeg)
Modified: 2024-08-23 15:07 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2024-05-13 20:41:14 UTC
TO recreate:
1. Configure your Koha to enable the point of sale system (i.e. enable syspref,
   set up a register, set up an item to sell).
2. Complete a transaction in the POS system.
3. Go to Cash summary for { THIS BRANCH }
4. Click on the line with a link that includes your register name. ( /cgi-bin/koha/pos/register.pl?registerid=X )
5. Click 'Print receipt'.
6. Tendered ( collected ) and Change ( change ) are 0.00
Comment 1 Sam Lau 2024-08-23 15:07:00 UTC
After completing a transaction, if you press the print receipt button at the top on the pos/pay.pl page, the receipt prints fine. That is because we have direct access to the 'collected' and 'change' variables and can pass them in the print receipt href. However, from the register summary page, these variables are now gone, so when we press print, they are both 0. It doesn't appear like these are stored anywhere so I think we would need to add them to the DB in order for this to work.