LP1724032 Permisson Group on Hold Shelf Slip Print Template
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 21 Sep 2021 23:11:49 +0000 (19:11 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 27 Oct 2022 23:51:29 +0000 (19:51 -0400)
This makes the patron permission group available to the hold shelf slip print template.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/templates/staff/share/print_templates/t_hold_shelf_slip.tt2
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index aca7f63..95802ae 100644 (file)
@@ -12,6 +12,7 @@ Template for printing hold request slips. Fields include:
 * patron.first_given_name
 * patron.second_given_name
 * patron.card.barcode
+* patron.profile.name
 * hold.request_time
 * hold.phone_notify
 * hold.sms_notify
index 72e34ec..c328cab 100644 (file)
@@ -1786,7 +1786,7 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
                 egCore.pcrud.retrieve('au', 
                     evt.payload.hold.usr(), {
                         flesh : 1,
-                        flesh_fields : {'au' : ['card']}
+                        flesh_fields : {'au' : ['card', 'profile']}
                     }
                 ).then(function(patron) {data.patron = patron})
             );