Acq: In fund propagation and rollover, add amounts as numbers, not strings
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Dec 2010 17:37:40 +0000 (17:37 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Dec 2010 17:37:40 +0000 (17:37 +0000)
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

index 81f858f..7da788d 100644 (file)
@@ -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() {