LP1742521: Receipt Count Repair
authorJason Boyer <jboyer@library.in.gov>
Wed, 16 Jan 2019 13:36:40 +0000 (08:36 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 16 Jan 2019 19:12:27 +0000 (14:12 -0500)
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>
Open-ILS/src/templates/staff/circ/patron/t_bills.tt2

index 58e3322..52c2965 100644 (file)
 <!-- 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">