From: Dan Wells Date: Fri, 21 Jun 2019 15:16:59 +0000 (-0400) Subject: LP#1759343 Fix annotate payment setting name X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=42d30509e83709d8f9ddce4915647014eab81584;hp=eef6f0fa0f2dedb5aa08836558643ac4d09ed088 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 495c85b..308fb30 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) {