From ffc4d88d14945a3bc822c42b33b46f184a0376c4 Mon Sep 17 00:00:00 2001 From: Josh Stompro Date: Mon, 2 Aug 2021 08:30:06 -0500 Subject: [PATCH] LP#1938450 - missing pieces slip printer context set to receipt Set the missing pieces slip to receipt context so it gets printed to the receipt printer. Signed-off-by: Josh Stompro Signed-off-by: Michele Morgan Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/staff/circ/services/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/item.js b/Open-ILS/web/js/ui/default/staff/circ/services/item.js index 3ffc96ae8f..fa62c85779 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/item.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/item.js @@ -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() }); -- 2.43.2