From: Josh Stompro Date: Mon, 2 Aug 2021 13:30:06 +0000 (-0500) Subject: LP#1938450 - missing pieces slip printer context set to receipt X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ffc4d88d14945a3bc822c42b33b46f184a0376c4;p=evergreen%2Fmasslnc.git 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 --- 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() });