lol, was never passing upcs ever
authorOwen Smith <owen@omsmith.ca>
Fri, 23 Nov 2012 22:01:21 +0000 (17:01 -0500)
committerOwen Smith <owen@omsmith.ca>
Fri, 23 Nov 2012 22:01:21 +0000 (17:01 -0500)
www/assets/js/client.js

index fe90241..5666992 100644 (file)
@@ -25,7 +25,7 @@ PosClientWrapper = function (authKey, serverLocation) {
                var upcs = [];
 
                for (var i in selection) {
-                       for (var q = 0; q < selection[i].quantity; q++) {
+                       for (var q = 0; q < selection[i].quantity(); q++) {
                                upcs.push(selection[i].upc);
                        }
                }