From: Jason Boyer <jboyer@library.in.gov>
Date: Wed, 16 Jan 2019 13:36:40 +0000 (-0500)
Subject: LP1742521: Receipt Count Repair
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bc9c9d30ec14cea15321694761fa899024466b13;p=evergreen%2Fequinox.git

LP1742521: Receipt Count Repair

The div wrapping the receipt printing controls was
shown or hidden using an ng-if declaration which
created a new $scope as explained in bug 1696238,
which caused the controller to not notice that the
value was changed. Changing that to an ng-show
allows the updated value to get where it needs to
be.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
---

diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2
index 58e3322e95..52c2965b01 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_bills.tt2
@@ -103,7 +103,7 @@
 <!-- pull-right is causing the content to flow several pixels 
 off to the right.  flex-row is honoring the boundaries better. 
 not sure what's up, there. -->
-<div class="flex-row" ng-if="!disable_auto_print">
+<div class="flex-row" ng-show="!disable_auto_print">
   <div class="flex-cell"></div>
   <div ng-hide="disablePatronCredit" class="pad-right">
     <div class="checkbox">