From e38958fc2a0809e48416fd0ee06f2931ca6d4070 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Fri, 21 Jun 2019 11:16:59 -0400 Subject: [PATCH] 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 --- 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 495c85b245..308fb309ea 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) { -- 2.11.0