From 62497d71eaefa88809aee052b0ab7081fd7802bf Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 26 Dec 2014 22:46:31 +0000 Subject: [PATCH] LP#1402797 use null as default payment amount This means that operator does not have to select the previous default of "0" in the control to clear it out. Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/circ/patron/bills.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js b/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js index cee0f0fedf..1d6f37123e 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js @@ -123,7 +123,7 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, // set up some defaults $scope.check_number = 0; - $scope.payment_amount = 0; + $scope.payment_amount = null; $scope.session_voided = 0; $scope.payment_type = 'cash_payment'; $scope.focus_payment = true; @@ -267,7 +267,7 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, function refreshDisplay() { patronSvc.fetchUserStats(); billSvc.fetchSummary().then(function(s) {$scope.summary = s}); - $scope.payment_amount = 0; + $scope.payment_amount = null; $scope.gridControls.refresh(); } -- 2.43.2