lp1926971 augment holds for patrons print template user/stompro/lp1926971-print-holds-for-patron-signoff
authorJason Etheridge <jason@EquinoxInitiative.org>
Mon, 3 May 2021 15:13:08 +0000 (11:13 -0400)
committerJosh Stompro <stompro@stompro.org>
Thu, 12 Aug 2021 16:07:11 +0000 (11:07 -0500)
with patron data, to support what the template editor preview is allowing

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

index 058c02d..bab8aa0 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}
         });
     }