LP2001728 - Don't display circ_staff for opac and autorenewals user/gmonti/lp2001728_hide_patron_as_checkout_staff_signoff
authorMichele Morgan <mmorgan@noblenet.org>
Wed, 1 Mar 2023 17:18:09 +0000 (12:18 -0500)
committerGina Monti <gmonti@biblio.org>
Sun, 30 Apr 2023 21:00:11 +0000 (17:00 -0400)
Item Status Circ History List: Displays the placeholder <OPAC Renewal>
or <Auto-renewal> instead of the patron information in the Check Out
Staff field.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Open-ILS/src/templates/staff/cat/item/t_circ_list_pane.tt2

index 3cd0f80..b736525 100644 (file)
       <div ng-if="circ.parent_circ() == null">
         <a target="_blank" href="./circ/patron/{{circ.circ_staff().id()}}/checkout">
           {{circ.circ_staff().usrname()}}
-      </a>
+        </a>
+      </div>
+      <div ng-if="circ.desk_renewal() == 't'">
+        <a target="_blank" href="./circ/patron/{{circ.circ_staff().id()}}/checkout">
+          {{circ.circ_staff().usrname()}}
+        </a>
+      </div>
+      <div ng-if="circ.opac_renewal() == 't'">[% l('<OPAC Renewal>') | html %]</div>
+      <div ng-if="circ.auto_renewal() == 't'">[% l('<Auto-Renewal>') | html %]</div>
     </div>
     <div ng-if="circ.desk_renewal() == 't'">
         <a target="_blank" href="./circ/patron/{{circ.circ_staff().id()}}/checkout">