From 2b078d6d23078ed95bb478d10268cc3f59346099 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 15 Jun 2018 14:18:10 -0600 Subject: [PATCH] Fix bug where reprinted receipts not sent to NickelBridge --- static/js/pos_management.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pos_management.js b/static/js/pos_management.js index 535b3dc..d8a9762 100644 --- a/static/js/pos_management.js +++ b/static/js/pos_management.js @@ -96,6 +96,7 @@ $("#transactionsearchbtn").on("click", function () { $("#managermodal").on("click", ".printreceiptbtn", function () { $("#managermodal").modal("hide"); $("#receiptchangediv").addClass("d-none"); + $("#receiptframe").data("txid", $(this).data("txid")); $("#receiptframe").attr("src", 'action.php?action=getreceipt&txid=' + $(this).data("txid")); $("#receiptmodal").modal(); });