From 650d31ae32fd30ac8212c57a4dcb3d696382cc98 Mon Sep 17 00:00:00 2001
From: Oliver <oliver.henry.walters@gmail.com>
Date: Tue, 22 Jun 2021 10:43:00 +1000
Subject: [PATCH] Remove debug statements

---
 InvenTree/order/templates/order/po_attachments.html | 2 --
 InvenTree/templates/js/build.js                     | 3 ++-
 InvenTree/templates/js/stock.js                     | 1 -
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/InvenTree/order/templates/order/po_attachments.html b/InvenTree/order/templates/order/po_attachments.html
index a0ab77975a..40052c1ec6 100644
--- a/InvenTree/order/templates/order/po_attachments.html
+++ b/InvenTree/order/templates/order/po_attachments.html
@@ -57,8 +57,6 @@ $("#attachment-table").on('click', '.attachment-delete-button', function() {
 
     var url = `/order/purchase-order/attachment/${button.attr('pk')}/delete/`;
 
-    console.log("url: " + url);
-
     launchModalForm(url, {
         reload: true,
     });
diff --git a/InvenTree/templates/js/build.js b/InvenTree/templates/js/build.js
index 22d8ea7ea3..3e5e438add 100644
--- a/InvenTree/templates/js/build.js
+++ b/InvenTree/templates/js/build.js
@@ -688,7 +688,8 @@ function loadBuildOutputAllocationTable(buildInfo, output, options={}) {
                     return makeProgressBar(allocated, required);
                 },
                 sorter: function(valA, valB, rowA, rowB) {
-                    console.log("sorting!");
+                    // Custom sorting function for progress bars
+                    
                     var aA = sumAllocations(rowA);
                     var aB = sumAllocations(rowB);
 
diff --git a/InvenTree/templates/js/stock.js b/InvenTree/templates/js/stock.js
index 4dd2093896..06bbb7c20e 100644
--- a/InvenTree/templates/js/stock.js
+++ b/InvenTree/templates/js/stock.js
@@ -603,7 +603,6 @@ function loadStockTable(table, options) {
 
                     // REJECTED
                     if (row.status == {{ StockStatus.REJECTED }}) {
-                        console.log("REJECTED - {{ StockStatus.REJECTED }}");
                         html += makeIconBadge('fa-times-circle icon-red', '{% trans "Stock item has been rejected" %}');
                     }
                     // LOST