https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31513

--- Comment #2 from Katrin Fischer <[email protected]> ---
The problem is not an easy fix on first glance. This is all done in JS, but I
have a feeling it should use template variables with the unformatted data
instead:

var amount = button.data('amount');
var amountoutstanding = button.data('amountoutstanding') || 0;
var paid = amount - amountoutstanding;
$("#paid + span").replaceWith(paid);
$("#returned").attr({ "value": paid, "max": paid, "min": 0 });

-- 
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]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to