From: Galen Charlton Date: Thu, 4 Aug 2016 14:15:12 +0000 (-0400) Subject: invoke email receipt sending correctly X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7f6caf65403e4681b0920f4ac64d739b1ca69e7f;p=working%2FEvergreen.git invoke email receipt sending correctly Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js b/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js index 04110aa737..d2fddcc353 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js @@ -222,7 +222,7 @@ function($scope , $q , $routeParams , egCore , egUser , patronSvc , } $scope.print_or_email_receipt = function () { - if ($scope.email_receipt()) return $scope.send_email_receipt; + if ($scope.email_receipt()) return $scope.send_email_receipt(); $scope.print_receipt(); }