lp1926971 augment holds for patrons print template collab/phasefx/lp1926971-print-holds-for-patron
authorJason Etheridge <jason@EquinoxInitiative.org>
Mon, 3 May 2021 15:13:08 +0000 (11:13 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Mon, 3 May 2021 15:13:08 +0000 (11:13 -0400)
with patron data, to support what the template editor preview is allowing

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/web/js/ui/default/staff/circ/patron/holds.js

index 798ff73..218558d 100644 (file)
@@ -129,7 +129,7 @@ function($scope,  $q,  $routeParams,  egCore,  egUser,  patronSvc,
         egCore.print.print({
             context : 'receipt', 
             template : 'holds_for_patron', 
-            scope : {holds : holds}
+            scope : {patron : egCore.idl.toHash(patronSvc.current), holds : holds}
         });
     }