mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix for stock item tracking table
This commit is contained in:
parent
3dad86f004
commit
04dbfbd892
@ -52,12 +52,10 @@
|
|||||||
|
|
||||||
|
|
||||||
loadStockTrackingTable($("#track-table"), {
|
loadStockTrackingTable($("#track-table"), {
|
||||||
params: function(p) {
|
params: {
|
||||||
return {
|
|
||||||
ordering: '-date',
|
ordering: '-date',
|
||||||
item: {{ item.pk }},
|
item: {{ item.pk }},
|
||||||
user_detail: true,
|
user_detail: true,
|
||||||
};
|
|
||||||
},
|
},
|
||||||
url: "{% url 'api-stock-track' %}",
|
url: "{% url 'api-stock-track' %}",
|
||||||
});
|
});
|
||||||
|
@ -932,7 +932,6 @@ function loadStockTrackingTable(table, options) {
|
|||||||
cols.push({
|
cols.push({
|
||||||
field: 'title',
|
field: 'title',
|
||||||
title: '{% trans "Description" %}',
|
title: '{% trans "Description" %}',
|
||||||
sortable: true,
|
|
||||||
formatter: function(value, row, index, field) {
|
formatter: function(value, row, index, field) {
|
||||||
var html = "<b>" + value + "</b>";
|
var html = "<b>" + value + "</b>";
|
||||||
|
|
||||||
@ -957,7 +956,6 @@ function loadStockTrackingTable(table, options) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
cols.push({
|
cols.push({
|
||||||
sortable: true,
|
|
||||||
field: 'user',
|
field: 'user',
|
||||||
title: '{% trans "User" %}',
|
title: '{% trans "User" %}',
|
||||||
formatter: function(value, row, index, field) {
|
formatter: function(value, row, index, field) {
|
||||||
|
Loading…
Reference in New Issue
Block a user