mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove debug statements
This commit is contained in:
parent
6886570d0f
commit
650d31ae32
@ -57,8 +57,6 @@ $("#attachment-table").on('click', '.attachment-delete-button', function() {
|
|||||||
|
|
||||||
var url = `/order/purchase-order/attachment/${button.attr('pk')}/delete/`;
|
var url = `/order/purchase-order/attachment/${button.attr('pk')}/delete/`;
|
||||||
|
|
||||||
console.log("url: " + url);
|
|
||||||
|
|
||||||
launchModalForm(url, {
|
launchModalForm(url, {
|
||||||
reload: true,
|
reload: true,
|
||||||
});
|
});
|
||||||
|
@ -688,7 +688,8 @@ function loadBuildOutputAllocationTable(buildInfo, output, options={}) {
|
|||||||
return makeProgressBar(allocated, required);
|
return makeProgressBar(allocated, required);
|
||||||
},
|
},
|
||||||
sorter: function(valA, valB, rowA, rowB) {
|
sorter: function(valA, valB, rowA, rowB) {
|
||||||
console.log("sorting!");
|
// Custom sorting function for progress bars
|
||||||
|
|
||||||
var aA = sumAllocations(rowA);
|
var aA = sumAllocations(rowA);
|
||||||
var aB = sumAllocations(rowB);
|
var aB = sumAllocations(rowB);
|
||||||
|
|
||||||
|
@ -603,7 +603,6 @@ function loadStockTable(table, options) {
|
|||||||
|
|
||||||
// REJECTED
|
// REJECTED
|
||||||
if (row.status == {{ StockStatus.REJECTED }}) {
|
if (row.status == {{ StockStatus.REJECTED }}) {
|
||||||
console.log("REJECTED - {{ StockStatus.REJECTED }}");
|
|
||||||
html += makeIconBadge('fa-times-circle icon-red', '{% trans "Stock item has been rejected" %}');
|
html += makeIconBadge('fa-times-circle icon-red', '{% trans "Stock item has been rejected" %}');
|
||||||
}
|
}
|
||||||
// LOST
|
// LOST
|
||||||
|
Loading…
Reference in New Issue
Block a user