webstaff: LP#1436980: Default copy circ count to 0 instead of undefined
authorMike Rylander <mrylander@gmail.com>
Wed, 16 Sep 2015 14:28:46 +0000 (10:28 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 16 Sep 2015 17:24:11 +0000 (13:24 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/patron/bills.js

index 9f1b29b..80be1fe 100644 (file)
@@ -584,6 +584,7 @@ function($scope,  $q , $routeParams , egCore , egGridDataProvider , patronSvc ,
     }
 
     // -- retrieve our data
+    $scope.total_circs = 0; // start with 0 instead of undefined
     egBilling.fetchXact(xact_id).then(function(xact) {
         $scope.xact = xact;