mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Further JS linting
This commit is contained in:
parent
35b3bc73cc
commit
1215ef520d
@ -1650,7 +1650,6 @@ function allocateStockToSalesOrder(order_id, line_items, options={}) {
|
|||||||
var available = Math.max((data.quantity || 0) - (data.allocated || 0), 0);
|
var available = Math.max((data.quantity || 0) - (data.allocated || 0), 0);
|
||||||
|
|
||||||
// Remaining quantity to be allocated?
|
// Remaining quantity to be allocated?
|
||||||
var todo = "fix this calculation!";
|
|
||||||
var remaining = opts.quantity || available;
|
var remaining = opts.quantity || available;
|
||||||
|
|
||||||
// Maximum amount that we need
|
// Maximum amount that we need
|
||||||
@ -2252,8 +2251,7 @@ function loadSalesOrderLineItemTable(table, options={}) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
columns.push(
|
columns.push({
|
||||||
{
|
|
||||||
field: 'notes',
|
field: 'notes',
|
||||||
title: '{% trans "Notes" %}',
|
title: '{% trans "Notes" %}',
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user