From: Bill Erickson Date: Tue, 11 Dec 2018 16:10:18 +0000 (-0500) Subject: Refundable payment webstaff fix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c36003679865bfd8a0422ccd9bfaed555251ddbf;p=working%2FEvergreen.git Refundable payment webstaff fix Avoid sending refundable payment values (in the wrong format) to the server when no refundable payments are made. Signed-off-by: Bill Erickson --- 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 e3d1e1d708..7f7de97a31 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 @@ -393,7 +393,7 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, }); if (lostXacts.length === 0) { - return $q.when(payments); + return $q.when(null); } return checkSecondaryAuth().then(