offline: the offline backend cannot handle stat cats, so we disable them in the offli...
authorMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 16:06:07 +0000 (12:06 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 30 Jun 2017 16:06:45 +0000 (12:06 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2

index 5e873d1..03303a0 100644 (file)
@@ -856,7 +856,8 @@ within the "form" by name for validation.
     class="btn btn-success">[% l('New Address') %]</button>
 </div>
 
-<div class="alert alert-success row" role="alert" 
+<div ng-if="!offline">
+<div class="alert alert-success row" role="alert"
     ng-show="show_field('stat_cats') || hasRequiredStatCat" ng-if="stat_cats.length > 0">
     <div class="col-md-6">[% l('Statistical Categories') %]</div>
 </div>
@@ -902,6 +903,7 @@ within the "form" by name for validation.
 
   </div><!-- show/hide wrapper -->
 </div>
+</div>
 
 <!-- surveys -->