From 2526b07975e90d3d416b6b5a0f1a289dc76e8ed1 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 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) { -- 2.11.0