Lp 1835085: Update Item Status templates for auto-renewal
authorJason Stephenson <jason@sigio.com>
Mon, 9 Sep 2019 12:47:09 +0000 (08:47 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 Oct 2019 21:23:05 +0000 (17:23 -0400)
Add checks for circ.auto_renewal() == 't' in the circ list and summary
pane views of the web staff client Item Status interface.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/item/t_circ_list_pane.tt2
Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2

index f4a3d0f..5165571 100644 (file)
@@ -57,7 +57,8 @@
     <div class="flex-cell well">{{
       circ.phone_renewal() == 't' ||
       circ.desk_renewal() == 't' ||
-      circ.opac_renewal() == 't'
+      circ.opac_renewal() == 't' ||
+      circ.auto_renewal() == 't'
     }}</div>
     <div class="flex-cell">[% l('Stop Fines Reason') %]</div>
     <div class="flex-cell well">{{circ.stop_fines()}}</div>
index dad5ec9..46a6b02 100644 (file)
@@ -74,6 +74,7 @@
       <div ng-if="circ.opac_renewal() == 't'">[% l('OPAC') %]</div>
       <div ng-if="circ.desk_renewal() == 't'">[% l('Desk') %]</div>
       <div ng-if="circ.phone_renewal() == 't'">[% l('Phone') %]</div>
+      <div ng-if="circ.auto_renewal() == 't'">[% l('Automatic') %]</div>
     </div>
 
     <div class="flex-cell">[% l('Checkout Workstation') %]</div>