mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 13:35:40 +00:00
linting
This commit is contained in:
@ -1407,7 +1407,7 @@ function allocateStockToBuild(build_id, part_id, bom_items, options={}) {
|
||||
onSelect: function(data, field, opts) {
|
||||
// Adjust the 'quantity' field based on availability
|
||||
|
||||
if (!("quantity" in data)) {
|
||||
if (!('quantity' in data)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1666,7 +1666,7 @@ function loadSalesOrderLineItemTable(table, options={}) {
|
||||
onSelect: function(data, field, opts) {
|
||||
// Quantity available from this stock item
|
||||
|
||||
if (!("quantity" in data)) {
|
||||
if (!('quantity' in data)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user