lp1693036 Patron Editor Print Data
[evergreen-equinox.git] / Open-ILS / web / js / ui / default / staff / circ / patron / regctl.js
index 8716184..bd83888 100644 (file)
@@ -1945,4 +1945,14 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
             }
         });
     }
+
+    $scope.edit_passthru.print = function() {
+        var print_data = {patron : $scope.patron}
+
+        return egCore.print.print({
+            context : 'default',
+            template : 'patron_data',
+            scope : print_data
+        });
+    }
 }])