[open-ils-commits] [GIT] Evergreen ILS branch master updated. eea266a15ded37c91ae272db33fac0548035f8d5

Evergreen Git git at git.evergreen-ils.org
Sat Feb 22 11:09:02 EST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  eea266a15ded37c91ae272db33fac0548035f8d5 (commit)
      from  abc50d3a6dceafef96bc4c3972c0dd440c86b4d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eea266a15ded37c91ae272db33fac0548035f8d5
Author: Mike Risher <mrisher at catalyte.io>
Date:   Thu Feb 13 21:02:09 2020 +0000

    lp1668352 Add barcode to patron neg balance grid
    
    Add a barcode column to the existing Patron Negative Balance Grid.
    It should be hyperlinked and link to the relevant patron.
    
    Signed-off-by: Mike Risher <mrisher at catalyte.io>
    Signed-off-by: Dawn Dale <ddale at georgialibraries.org>
    Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>

diff --git a/Open-ILS/src/templates/staff/admin/local/circ/neg_balance_users.tt2 b/Open-ILS/src/templates/staff/admin/local/circ/neg_balance_users.tt2
index 8291796a26..b7af3cbfdb 100644
--- a/Open-ILS/src/templates/staff/admin/local/circ/neg_balance_users.tt2
+++ b/Open-ILS/src/templates/staff/admin/local/circ/neg_balance_users.tt2
@@ -39,8 +39,12 @@
 
   <eg-grid-action handler="get_user"
     label="[% l('Retrieve Patron') %]"></eg-grid-action>
-
   <eg-grid-field label="[% l('Barred') %]" path='usr.barred'></eg-grid-field>
+  <eg-grid-field label="[% l('Barcode') %]" path="usr.card.barcode">
+    <a href="./circ/patron/{{item.usr.id()}}/checkout/" target="_blank">
+      {{item.usr.card().barcode()}}
+    </a>
+  </eg-grid-field>
   <eg-grid-field label="[% l('Date of Birth') %]" dateformat="{{$root.egDateFormat}}" datatype="timestamp" path='usr.dob'></eg-grid-field>
   <eg-grid-field label="[% l('Last Name') %]" path='usr.family_name'></eg-grid-field>
   <eg-grid-field label="[% l('First Name') %]" path='usr.first_given_name'></eg-grid-field>
@@ -48,8 +52,8 @@
   <eg-grid-field label="[% l('Balance Owed') %]" path='balance_owed'></eg-grid-field>
   <eg-grid-field label="[% l('Last Billing Activity') %]" 
     path='last_billing_activity' datatype='timestamp'></eg-grid-field>
-
   <eg-grid-field path='usr.*' parent-idl-class="au" hidden></eg-grid-field>
+  
 </eg-grid>
 
    

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/staff/admin/local/circ/neg_balance_users.tt2    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list