From: Dan Wells Date: Fri, 21 Jun 2019 15:16:59 +0000 (-0400) Subject: LP#1759343 Fix annotate payment setting name X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2526b07975e90d3d416b6b5a0f1a289dc76e8ed1;p=working%2FEvergreen.git LP#1759343 Fix annotate payment setting name This setting was added to the database with the 'eg.' prefix, but in the code it was not used. The end effect was that the setting likely worked, but was not saved in the way expected. This makes the setting name in the code match the DB. Signed-off-by: Dan Wells Signed-off-by: Chris Sharp --- 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 295ad84457..091168d2ce 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 @@ -200,7 +200,7 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, if (rcptOnPay) $scope.receipt_on_pay.isChecked = rcptOnPay; }); - egCore.hatch.getItem('circ.bills.annotatepayment') + egCore.hatch.getItem('eg.circ.bills.annotatepayment') .then(function(annoPay){ if (annoPay) $scope.annotate_payment = annoPay; }); @@ -412,7 +412,7 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, } $scope.onAnnotatePaymentChanged = function(){ - egCore.hatch.setItem('circ.bills.annotatepayment', $scope.annotate_payment); + egCore.hatch.setItem('eg.circ.bills.annotatepayment', $scope.annotate_payment); } function printReceipt(type, payment_ids, payments_made, note) {