From 684ea0839cab77ddb92b9daf6c116741ae068e91 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 20 Dec 2010 17:37:40 +0000 Subject: [PATCH] Acq: In fund propagation and rollover, add amounts as numbers, not strings git-svn-id: svn://svn.open-ils.org/ILS/trunk@19026 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/acq/financial/list_funds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/financial/list_funds.js b/Open-ILS/web/js/ui/default/acq/financial/list_funds.js index 81f858f4b7..7da788d7ad 100644 --- a/Open-ILS/web/js/ui/default/acq/financial/list_funds.js +++ b/Open-ILS/web/js/ui/default/acq/financial/list_funds.js @@ -177,7 +177,7 @@ function performRollover(args) { var resp = openils.Util.readResponse(r); rolloverResponses.push(resp.fund); count += 1; - amount_rolled += resp.rollover_amount; + amount_rolled += Number(resp.rollover_amount); }, oncomplete : function() { -- 2.11.0