Bug 37671 - Can't print receipt for refund from cash register transaction history
Summary: Can't print receipt for refund from cash register transaction history
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Point of Sale (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low major
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-19 11:44 UTC by Owen Leonard
Modified: 2026-01-30 16:10 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
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 Owen Leonard 2024-08-19 11:44:32 UTC
ERROR PROCESSING TEMPLATE: undef error - Exception 'Koha::Exceptions::Account::IsNotCredit' thrown 'Account line 321 is not a credit'
 at /kohadevbox/koha/pos/printreceipt.pl line 54.
 at /usr/lib/x86_64-linux-gnu/perl-base/Carp.pm line 289

1. Make a purchase through Point of Sale.
2. Go to the transaction history for the register you used.
3. Issue a refund for the purchase.
4. Click the "Print receipt" button for that refund.
Comment 1 Juliet Heltibridle 2026-01-30 16:10:33 UTC
We need to be able to print a receipt for refunds to be placed in the cash drawer because this is the best way to notify the cash office a refund has happened. We've found a workaround by printing the receipt for the transaction again, which will have (Refunded) on the receipt. But having the button to print a receipt on the refund confuses staff, who click there first and then get a 500 error. If this cannot be fixed, it would be helpful to remove the button, or have it print the receipt from the refunded transaction.