https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43155
Bug ID: 43155
Summary: POS breaks on modal if change required
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: 25.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Point of Sale
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
This only happens if the patron is owed change. If we enter in an exact amount
tendered, everything works. We are seeing a bug with the POS. If I have an
amount owed in the POS, like $1.25, and I enter $2.00 tendered, and press
confirm, a modal comes up asking to confirm the change owed. If I press yes,
nothing happens.
If I run
console.log("Koha:", Koha);
console.log("Koha.prefs:", Koha?.prefs);
directly in the browser console on that page, I get:
Koha: { ... }
Koha.prefs: undefined
It looks like Koha.prefs is not being initialized.
If I run this in the console on that page:
Koha.prefs = Koha.prefs || {};
Koha.prefs.FinePaymentAutoPopup = false;
Then I enter the amount tendered over the amount owed, the confirmation comes
up, I press yes, and it works.
I temporary workaround I've come up with seems to get us by for the moment:
//TEMPORARY Workaround for POS bug - 7/22/26
$(function () {
Koha = window.Koha || {};
Koha.prefs = Koha.prefs || {};
});
//TEMPORARY Workaround for POS bug - 7/22/26
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/