LP#1938450 - missing pieces slip printer context set to receipt
authorJosh Stompro <stompro@stompro.org>
Mon, 2 Aug 2021 13:30:06 +0000 (08:30 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 13 Aug 2021 21:55:21 +0000 (17:55 -0400)
Set the missing pieces slip to receipt context so it gets printed
to the receipt printer.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 3ffc96a..fa62c85 100644 (file)
@@ -975,7 +975,7 @@ function(egCore , egOrg , egCirc , $uibModal , $q , $timeout , $window , ngToast
             if (payload.slip) {
                 // wait for completion, since it may spawn a confirm dialog
                 promise = egCore.print.print({
-                    context : 'default',
+                    context : 'receipt',
                     content_type : 'text/html',
                     content : payload.slip.template_output().data()
                 });